Say i have this site:
The main logo image, is located in http://example.com/images/logos/
Anyone using firefox can right-click the image and select 'view image', opening the image in the browser with the full url on the address bar, like so:
so if the person deleted 'someimage.jpg' from the address bar, he will be in "http://example.com/images/logos/" viewing all of its contents.
How can i stop that? i set chmod to 711, but then index.php will give me this error:
Warning: opendir(./images/logos/): failed to open dir: Permission denied in /hsphere/local/home/me/example.com/includes/classes.php on line 13
Could not open directory for main image selection.
classes.php is where i have the script to open and select a random image from the logos folder.
I would post my actually site here, but then people could navigate through my files, and i'd rather not let that happen.
I will gladly PM it if needed.