Secure Python

Fredrik Tolf fredrik at dolda2000.com
Fri Nov 17 08:29:04 EST 2006


On Thu, 2006-11-16 at 08:43 +0200, Hendrik van Rooyen wrote:
>  "Fredrik Tolf" <fredrik at dolda2000.com> wrote:
> 
> > I was thinking that maybe it could be possible to load and run untrusted
> > Python code, simply by loading it in a module with a modified version of
> > __builtins__. Without any reachable function that do unsafe operations,
> > code running from there shouldn't be able to do evil things.
> 
> google for "sandbox"

I tried googling for various combinations of "sandbox", "python" and
some other keywords, but I could not find anything that seemed relevant.
Did you have any particular hit in mind?

Fredrik Tolf





More information about the Python-list mailing list