I have a recommendation to DA for more secure permissions...
We are already implementing this on our servers, however I recommend
public_html to be 0711 and $user:apache, same goes for private_html.
This would be much more secure - as therefore a user can't use CGI or shell (even if you don't provide shell access, they can use CGI to do what they like) to cd into other public_html's...
right now public_html/private_html are 755, that's not very secure.
This seems like it could be a really easy fix, and do wonders for security. We already have a script to reset all users and domains to these permissions....after we've done this on a few servers we'll release the script here - but really, it doesn't take a rocket scientist to make such a script either
We are already implementing this on our servers, however I recommend
public_html to be 0711 and $user:apache, same goes for private_html.
This would be much more secure - as therefore a user can't use CGI or shell (even if you don't provide shell access, they can use CGI to do what they like) to cd into other public_html's...
right now public_html/private_html are 755, that's not very secure.
This seems like it could be a really easy fix, and do wonders for security. We already have a script to reset all users and domains to these permissions....after we've done this on a few servers we'll release the script here - but really, it doesn't take a rocket scientist to make such a script either