Hi
I need to make sure my public Apache document root has the correct permissions. Its a straight forward PHP brochure site webserver with a couple of submission forms.
From DocumentRoot what should the default permissions be on the root directory, subdirectory and files?
examples, would all these me a uniformed 755 for normal access? or do you specifically set some, are all internet users going to be "o" (others) and do they need execute or just read?
Currently the owner is root which has (rwx), the group is an internal admin group with 2 members which has (rwx) and the other currently has (r_x), these permissions are linear from the document root.
\
\index.php
\.htaccess
\subdir1\
\subdir1\index2.php
\subdir1\form1.php
So before I put it on the internet, is there a standard way to assign the permissions to stop internet users being able to do things they shouldn't be able to?
Cheers
ex-IIS person
I need to make sure my public Apache document root has the correct permissions. Its a straight forward PHP brochure site webserver with a couple of submission forms.
From DocumentRoot what should the default permissions be on the root directory, subdirectory and files?
examples, would all these me a uniformed 755 for normal access? or do you specifically set some, are all internet users going to be "o" (others) and do they need execute or just read?
Currently the owner is root which has (rwx), the group is an internal admin group with 2 members which has (rwx) and the other currently has (r_x), these permissions are linear from the document root.
\
\index.php
\.htaccess
\subdir1\
\subdir1\index2.php
\subdir1\form1.php
So before I put it on the internet, is there a standard way to assign the permissions to stop internet users being able to do things they shouldn't be able to?
Cheers
ex-IIS person