securing a python execution environment...
gandalf at shopzeus.com
Mon Nov 19 14:39:03 CET 2007
Alberto Berti wrote:
> maybe using import hooks?
I don't think so. Anyone can hook the import statement. And this is just
one reason. Some objects are built in. For example, file(). How can you
restrict file creation? I believe that there is no safe restricted
environment, implemented in pure python.
More information about the Python-list