I run a django web app.
All my static files (css, js) are in the “public” folder as recommended by dreamhost.
I recently noticed that when the server is down (unrelated to my site), anyone navigating to my site has full browsing access to my public folder.
My question is how do I protect my public folder from being accessible when the server is down? Can this be solved with an htaccess file?
Thanks for your help