mjpclab / go-http-file-server

Simple command line based HTTP file server to share local file system
MIT License
379 stars 55 forks source link

Different authentication for different folder #13

Closed laggykiller closed 5 months ago

laggykiller commented 3 years ago

Let's say I have three folders: A, B, C. Is it possible to allow user Alice be able to enter folder A with Alice's credential and not able to access folder B, while user Bob be able to enter folder B with Bob's credential and not able to access folder A? If not, can you add this feature? It would be nice, thanks!

marjune163 commented 8 months ago

Version 1.17.0 adds --auth-user and --auth-dir-user to restrict path access authentication to specified user. See release notes for detail.