How do I determine the permission settings for PHP scripts? -


what best file permission settings php scripts? suggestions on ways figure out minimum required permissions?

wallowizard correct should use minimum permissions necessary script function.

however, let me more specific, assuming you're running on unix-based system such linux or bsd or mac osx. web server runs unprivileged user such "nobody" , scripts need readable user, best permissions 644, meaning can read , write script, , else can read it.

in uncommon case script owned same user running web server, can set permissions 600, can read , write script , no 1 else can read it.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -