Quote:
Originally Posted by MattHawkins
Hi Everyone,
I've got some PHP scripts that either create new files or edit existing ones. (These are DIY scripts and use fopen usually with the "w" parameter).
The only way I can appear to get the scripts to operate correctly is to set the file permissions to 777. Now this makes me nervous
I read that on EUKHost websites files with permission 777 are OK because the server has some sort of security mod that makes it safe ( http://www.eukhost.com/support/knowl...gory/security/)
Can some from EUKHost confirm that files with permissions are OK set at 777 ?
I hope that this post will be useful to others because I have always found file permissions difficult to deal with because all web hosts seem to deal with them in different ways.
Thanks,
Matt
|
You should be fine with using 777 permissions on the scripts. If anyone does try to get through eUKhost have very tight mod_security rules which will stop them.
__________________
Regards,
Josh Hold
eUKhost Blog: Over 1000 Computer Related Articles to Sink Your Teeth Into!
Super Moderator
I'm only a forum gremlin (moderator), and do not work for eUKhost in any way. Opinions expressed by me are mine only, and do not reflect those of either eUKhost or any company that may be listed above.