safe_mode of modpython ?

William Dode wilk-spamout at flibuste.net
Fri Jul 19 04:33:28 EDT 2002


Le Thu, 18 Jul 2002 22:15:06 +0200
Gerhard Häring <gerhard.haering at gmx.de> écrivait:

> * William Dode <wilk-spamout at flibuste.net> [2002-07-18 22:00 +0200]:
> > Is there an equivalent of the safe_mode and openbasedir of php in a
> > python module for apache ?
> 
> Can you describe shortly what these do?
> 
> I believe the answer will be "no" and "you'll have to fiddle with
> rexec/bastion", but I don't know about these PHP features, yet ;-)
> 
> There might be non-Python solutions in the Apache configuration for the
> problem you're trying to solve (I'm thinking of mod_userdir, for
> example). Yet I have no idea yet what the problem to solve could be :-)

My problem is for shared web hosting, i would like to give different right
access to directory by virtual hosting. Like suexec for cgi. That a script
of one virtual host cannot access the directory of an other virtual host.

bye

-- 
William Dodé - flibuste.net
http://wikipython.tuxfamily.org



More information about the Python-list mailing list