Dear Friends,
I have a php script installed on my server... i need this script upload files to some directories...
What's the best permission for that directories?
Please explain if possible!
Regards
Mansour
folder right permission on a *nix server
Moderator: General Moderators
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: folder right permission on a *nix server
The lower the permissions that work the better...though I'm not exactly a security expert.
I've seen way too many public scripts that are all, 'Hey, yeah just set every folder especially the root all to 777!'
I think something like 606 works though it's been a few months since I've had to mess around with file system permissions...mess around with it a bit and see how much you can minimize it before it no longer works.
Re: folder right permission on a *nix server
Umm,
what about "746"?
Looking Forward for a security expert!!!
Thanks
what about "746"?
Looking Forward for a security expert!!!
Thanks