tersted Posted February 18, 2003 Posted February 18, 2003 I want to create some static HTML pages with a PHP script. It writes the HTML files directly into the Public Html directory. I changed the filepermissions to 777 for the whole directory, otherwise it wouldn't work. Is there any security risk that I'm facing now ? Quote
TCH-JimE Posted February 19, 2003 Posted February 19, 2003 I can't confirm this cos my mind is gone a blank, but having 777 means people can cause any file to write in your area of that folder. As long as everything else is patched and you dont allow uploading, it should be fine i think. A guru can tell you more Jim Quote
TCH-Rick Posted February 19, 2003 Posted February 19, 2003 Have you tried setting the permissions at 775? That would at least be a little more secure. Quote
Junior Posted February 19, 2003 Posted February 19, 2003 I worked on an issue with a client yesterday, and Bill stated that the permissions for the public_html directory is 755. Quote
tersted Posted February 19, 2003 Author Posted February 19, 2003 I tried 755 and 775, but with bots settings I cannot have my PHP script open a file for writing. Only 777 works. I would like to know how real the risk is that someone (who does not have my login and password) starts writing or delete files from my website, personally I wouldn't know how to do something like that.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.