Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

folder password protection #30

Open
zoumingzhe opened this issue Oct 29, 2024 · 2 comments
Open

folder password protection #30

zoumingzhe opened this issue Oct 29, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@zoumingzhe
Copy link

Is your feature request related to a problem? Please describe.
Currently, only individual files can be protected with a password.
I need to configure metadata for each file, which is quite troublesome.

Describe the solution you'd like
I hope individual folders can be protected with a password.
We need to traverse the metadata of all parent directories of the file and folder to ensure that password protection can overwrite all child files and folders

@zoumingzhe zoumingzhe added the enhancement New feature or request label Oct 29, 2024
@zoumingzhe
Copy link
Author

Currently, if a password is set for a folder, the key icon can be displayed, but clicking on it does not require entering a password.

@adrianschubek
Copy link
Owner

Yeah, that would be a nice feature. I would need to recursively check every parent folder's metadata if there is a password set for every request. With the current setup, this is quite inefficient/slow. Maybe a workaround would be to periodically scan all folders for a metadata file and store it in a database, and then I could simply query it. I will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants