3 ms·
Just make sure your server does not give a list of files in the directory /files/ if you do that :-)
by Moru 4y ago
Just make sure your server does not give a list of files in the directory /files/ if you do that :-)
- hnbad 4y agoIf the repo is public, people can just go to the repo and GitHub will happily give them the list of files.
- notRobot 4y agoHaha yep, made that mistake in the past!
- TurkishPoptart 4y agoHow do you do that?
- Moru 4y agoIt's a very common mistake so there is lots of help for it: You search "disable directory listing" for whatever webserver you use. I mostly use apache: https://duckduckgo.com/?q=apache+disable+directory+listing+htaccess&t=ffab&ia=web https://duckduckgo.com/?q=apache+disable+directory+listing+h...