PDA

View Full Version : Protecting Images


Irishgirl
12-9-01, 03:52 AM
Ok, here goes my question... How do I fix it so no one can see all the image files stored on my site? I am not a pro (obviously :D ) and I hope that makes sense. I don't want someone coming along and typing in my domain name and being able to see the image files I have uploaded there. Can anyone help me? Be gentle, I am really stoooooooopid when it comes to this kind of technical stuff :D

TIA

Irishgirl

Starr
12-9-01, 05:54 AM
Right way is to create an .htaccess file in the directory you want to protect and turn directory browsing off.

Quick-n-dirty way is to put a blank "index.html" in the folder. Anyone accessing that folder will see a white page instead of the listing of your files.

Irishgirl
12-9-01, 06:03 AM
Thank you Starr! I appreciate the quick help!!

Irishgirl