I have been trying to search how to protect my website files from being viewed by others. I recently noticed that my files that are in directories are not protected and can be viewed by going to the directory. Anyone have any information they can share so I can protect my files? Thanks!
Are people able to view the files by going into their browsers and typing in the address bar
Easiest way to protect against that is to put an index.html file with something like, “NO PEEKING”, in the folders you want to hide.
I’ll suggest you to use htaccess file to disable directory indexing