I want to to ensure that every file on my webserver is secured. The problems I am having right now:
If you go to my website, and enter a url like mywebsite.com/img/ if there is no index page in there, then you will have a list of all the files and folders. I have seen other sites redirect you to their main index page but I have done this for like a couple of pages but as my folders are growing, is there another way to do this. Simply is there a way my website won't display everything to the user?