adrianschubek / dir-browser

Directory Browser - Browse your files and folders on the web. Easy Docker setup.
https://dir.adriansoftware.de
MIT License
12 stars 4 forks source link

add password protection for entire folders #17

Closed adrianschubek closed 2 months ago

zoumingzhe commented 2 months ago

From my perspective, most users using dir-browser do not require password protection, and even if password protection is needed, it should be reinforcing the entire website. Such fine-grained access control is cumbersome and prone to errors (such as renaming causing password protection to fail), and too many passwords are also easy to forget. If we can have unified authentication for the website (such as oauth, ldap, etc.), this would be useful. If users want to control access to folders or folders, my suggestion is to deploy multiple instances through Docker and configure different policies.

adrianschubek commented 2 months ago

Yeah, I agree. This feature was intended for some small scale deployments where the folder structure stays the same. A unified approach with different providers like you suggested sounds good. Will look into it.