Jump to content

how I can prevent browse of my images folder


isaac_cm

Recommended Posts

I have my site online now and I worried about hacks so I should prevent direct access to my images folder , I tried to use .htaccess and it work but since my home page and my templates use images in this folder , now every one try to visit my site will be prompt for user/pass

I was told I have to move my /images folder outside my root folder , for example my root folder is "root" so I have to move images outside "root" and write script to make the images refer correctly to the new place

the problem I do not know what should I do, I know php but I need only highlight steps

thanks
If you manage to block them from getting into your images directory, you could then use .htaccess and an Apache Mod_rewrite and block hotlinking to the images.

I don't have my sample of denying hot-linking of images/pdfs because my server is currently down until I go in tomorrow to turn it on.
it seems that there is no solution for this security problem

In case someone subscribe to my newsletter and receive email from me  he will simply will right click on the image and know the link to my site logo so he can use this link and send emails to my customers to fraud them as it was from me

any idea ?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.