Forum Moderators: phranque
For example, one icons is called cat.gif, and is hosted on my images folder.
So, if you click on that icon, you can see that the path to it is for example
www.example.com/images/cat.gif.
How do I deny access to my folder to a user that types in the URL bar
www.example.com/images?
If you have apache web server you can add this line to your .htaccess file:
IndexIgnore *
Save the file as .htaccess, then upload it, make sure you make a linebreak after the last item on the .htaccess file, upload it in ASCII mode, not binary, and none of the folders on your site can be viewed.