Set CHMOD correctly
Posted: Wed Dec 02, 2009 7:40 pm
Hi you all!
I've got a question concerning the safety of a site. My website got hacked about three months ago. Fortunately my provider made a Back-Up of all files before. However, I don't need to happen this again because it's nasty anyway.
My provider said that the weak point was that I set the file tmp/index.html to chmod 777 and I should chance it at least to 664. But is that enough? I tried to chance every file on the server to 664, but afterwards my site didn't work any more.
Any suggestions would be very nice.
Greetings from Austria,
Toby
I've got a question concerning the safety of a site. My website got hacked about three months ago. Fortunately my provider made a Back-Up of all files before. However, I don't need to happen this again because it's nasty anyway.
My provider said that the weak point was that I set the file tmp/index.html to chmod 777 and I should chance it at least to 664. But is that enough? I tried to chance every file on the server to 664, but afterwards my site didn't work any more.
Any suggestions would be very nice.
Greetings from Austria,
Toby