Hi,
Ive just tried changing the permissions of the /images/ folder from 777 to 644 as recommended, and when i do all the images on my zencart site show as red X's
how would i stop anyone hacking the images directory?
Thanks
Hi,
Ive just tried changing the permissions of the /images/ folder from 777 to 644 as recommended, and when i do all the images on my zencart site show as red X's
how would i stop anyone hacking the images directory?
Thanks
underworldmagic,
The simplest way to 'protect' any images folder is to place an index.html file in the folder. When a person accesses the folder, they simly get a blank page. Bear in mind, if someone really wants your images they can always get them...
<html>
<head>
<title>blank</title>
</head>
<body>
</body>
</html>
You can put some kind of dumb message in there too (smile)... or copyright info -
If you are really serious about protecting your images - read this
http://www.thesitewizard.com/archive...ctimages.shtml
Also, use Google - and search on protect images and you will come up with an amazing "number of ways."
The simplest is the first suggested...
jund
thanks so much i really appreicate it.
how about file premissions? i have them still at 777 when i put them down to 644 i get red Xs on my website? will security matter even if i kept it at 777?
thanks again
underworldmagic,
Set your permissions for the images folder to 770.
What kind of server are you using?
jund
im using a linux shared hosting.
i dont know either why 777 doesnt work on images directory, all the images just start showing a red Xs.
ive just tried 770 on the images directory and still the same problem, ie got red Xs on the website?
any other ideas?
Is your site online? Can you provide me a url?
jund
thanks its
http://www.HouseOfPainNutrition.com
I see your images... NO red Xs.
Which images are showing up as red Xs?
Which browser are you using?
jund
Last edited by jund; 2 Sep 2007 at 01:24 AM. Reason: Forgot a question
They all show up as red X's ONLY when i change the image directory to 644, it is now on 777 thats why there are no Xs showing.
this is where the problem is, 777 is not safe to keep, yet images show on the website as they are supposed to but when i try to use secure permissions (644) i get red Xs.
Bookmarks