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

[Feature Request] Add a password protection

Open sayasmito opened this issue 3 years ago • 2 comments

I was using this and realised it could do with a password protection. I can limit acces via firewall rules but password protection would be useful too

sayasmito avatar Oct 05 '22 10:10 sayasmito

Hello.

I made a fork which adds basic auth for routes: https://github.com/noobcode73/http-file-server/tree/patch-2#auth

You have to build with go manually and have to navigate to the default go installtion path and then run http-file-server

noobcode73 avatar Dec 02 '22 02:12 noobcode73

@noobcode73 thanks man, it works

Pustinyak avatar Dec 03 '22 06:12 Pustinyak