Jump to content

Archived

This topic is now archived and is closed to further replies.

morpheuz

Best Chmod Settings?

Recommended Posts

Been doing some reading.. it seems giving files permissions of 777 is not the best choice according to consensus as it causes a security issue. I'm having a hard time tracking down on what exactly to chmod to what, so I hope there is nothing wrong with setting all php files to 644 and folders and all else to 755, or just setting [b]everything[/b] to 755.

Are there any other things I need to be aware of?

Share this post


Link to post
Share on other sites
As long as you don't give write access to the public then I think you should be fine.

Share this post


Link to post
Share on other sites
guess it also depends on what the script is for. if its a cron job script i usually give server access, for example

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.