Secure Python

Hendrik van Rooyen mail at microcorp.co.za
Thu Nov 16 01:43:46 EST 2006


 "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"

- Hendrik




More information about the Python-list mailing list