coder / coder/code-server

[Feat]: Add `disable-folder-downloads`

Open
#6,565 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
79.3k
Forks
6.8k
Avg merge
2d 6h
Merged PRs (30d)
41

Description

## What is your suggestion?
1. `disable-file-downloads` prevents all forms of downloading
2. I would like to disable downloading of whole folders only but allow downloading of 1 file

## Why do you want this feature?
My aim is to not allow whole folder downloads as it can lead to bad practices/security issues but downloading of files, 1 by 1 is acceptable as a convenience feature

## Are there any workarounds to get this functionality today?
Yes, allow file downloads which also allows folder downloads

## Are you interested in submitting a PR for this?
Unfortunately no as my javascript is subpar.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.