securing a python execution environment...

Chris Withers chris at simplistix.co.uk
Mon Nov 19 08:51:34 EST 2007


Alberto Berti wrote:
> maybe using import hooks?
> 
> http://www.python.org/dev/peps/pep-0302/

Well, as Lazlo reminded me, there are also plenty of builtins that are 
problematic... although hopefully providing a limited set of contents 
for the global and local namespaces could solve that?

But, regardless of those, how do you prevent someone "undoing" the 
hooks, regardless of which ones you use?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Python-list mailing list