Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#6,565 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
devtools, security

Research direction

Start by finding the existing disable-file-downloads setting and the code path that handles folder downloads. Confirm how single-file downloads differ from whole-folder downloads, then update the setting behavior so folder downloads are blocked while individual file downloads remain available.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
TypeScript
Stars
79.4k
Forks
6.9k
Avg merge
2d 13h
Merged PRs (30d)
39

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/code-server

All issues in coder/code-server

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.