I have a web site that I made and I found out that people could easily get into the /images directory by typing it at the end of the main url. How can I prevent public viewing of this directory yet retain web access so people can see the pictures? Thanks for your help.
set up a Htaccess file. Log into your panel> goodies> Htaccess and Webdav>
Select the domain you want this for, and set it up to forbid linking to files in this directory.
Another way is to put an index.htm file in the directory that tells the viewer they have accessed a forbidden directory and will be redirected to the main page. Then in the meta section add refresh with the website and time delay. Do a search on here for .htaccess and you will find an example I posted earlier. If you can not find it I can post again.