restricted environment

Paul Rubin http
Wed Jul 19 19:29:38 EDT 2006


"Gabriele *darkbard* Farina" <darkbard at gmail.com> writes:
> There is a way to reach this point without using rexec? 

Not without a totally separate interpreter.  If rexec were so easy
to fix, they'd fix it.

> There is a way to start a python interpreter from python to run the
> scripts?

Of course; use os.popen or something like that.  Maybe not what you wanted.

> My final goal is to develop a simple fastcgi script that, based on
> configuration files, is able to host different applications without
> need to copy the script for any application and with any risk that the
> scripts will ifluence in any way each other.

You really can't.  You need a separate interpreter for each user.



More information about the Python-list mailing list