go-http-file-server icon indicating copy to clipboard operation
go-http-file-server copied to clipboard

Different authentication for different folder

Open laggykiller opened this issue 4 years ago • 1 comments

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!

laggykiller avatar Oct 10 '21 00:10 laggykiller

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

marjune163 avatar Mar 06 '24 14:03 marjune163