On Apr 9, 2005 2:44 PM, Gare <gare@xxxxxxxxxx> wrote: > That's why I'm looking for a solution, an easy and affordable solution. Of > course my subdomains with a share user can't use php nor cgi. > Then if a cgi program can access all over the server (files like > /etc/passwd ), how do enterprise that provide shared hosting with > cgi/php/mysql support? They don't share userids. > Even if I create a system user for every subdomain webserver, CGI could > access important files in the server (/etc/shadow or /etc/passwd ... ), or > perhaps could mod_security avoid this action? No, they will only have access to the files that you allow them to access. /etc/shadow certainly wouldn't be one of those. Another idea is to look at cgiwrap, which has a somewhat more flexible attitude towards permission changing. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx