This is from Coppermine Install Instructions:
I have always had the CHMOD on 777, should I change it ? And if so should it be to 777, (it doesn't say in the manual), thanks
| Quote: |
|
IMPORTANT: 0777 (CHMOD 777) should not be the default mode for directories because it may present a security risk, if your gallery is running on a shared server and PHP safe mode is not enabled, anyone with an account on the same server could possibly delete your pictures. There have been several threads on this issue on the Menalto Gallery forum and several users have seen their gallery hacked and destoyed because of this. This issue is not specific to Photo galleries, it applies to all PHP scripts that create directories. As long as someone has write access to a directory, s/he could conceiveably delete any file it contains, even if that person doesn't have write access to the file itself. |
I have always had the CHMOD on 777, should I change it ? And if so should it be to 777, (it doesn't say in the manual), thanks
