PHP file permissions -
i launched ec2 server , put php code on server , need change permissions user cant go site http:example.com/admin
, see list of php files....do need change permissions on entire folder or each file or there recursive -r
command work ...i think 777 ...which bad
assuming want disable listing of files, , not access files themselves, you'll want disable indexes option in apache folder. in apache config best.
<directory /www/somefolder> options -indexes allowoverride none </directory>
Comments
Post a Comment