martinostlund
Verified User
- Joined
- Feb 10, 2011
- Messages
- 13
Hello,
I've noticed some permissions that are a bit to generous, atleast in my opinion.
These might not directly impact system security, but it will give away information about customers to anyone with a web account and some perl/php skills.
My main concern is that users are able to read files from /etc/virtual, like domains, domainowners etc.
Also, /var/www/html is readable, and with roundcube installed users can read the database password in
/var/www/html/roundcube/config/db.inc.php
Is there any (good) way to only have the system services read these files, or can I somehow limit the access to these directories with php/apache? Im using suPHP.
Best regards,
martin
I've noticed some permissions that are a bit to generous, atleast in my opinion.
These might not directly impact system security, but it will give away information about customers to anyone with a web account and some perl/php skills.
My main concern is that users are able to read files from /etc/virtual, like domains, domainowners etc.
Also, /var/www/html is readable, and with roundcube installed users can read the database password in
/var/www/html/roundcube/config/db.inc.php
Is there any (good) way to only have the system services read these files, or can I somehow limit the access to these directories with php/apache? Im using suPHP.
Best regards,
martin