__getattribute__ and __setattr__. Is the original function now
isolated and only able to be referenced within Isolate.
In summary, are there any references to builtin functions others than
through __builtins__ and is __getattribute__, __setattr__ secure
Regards
RMM
--
http://mail.python.org
Sorry, should maybe have used __import__ as an example.
Let's say I grab import, store the reference within the Isolate class
and then redirect the builtin import to a function in the Isolate class
which only allows certain modules to be imported -eg not sys. Would
this be secure?
--
http://mai
module name.
Thanks for the speedy and informative replies.
RMM
--
http://mail.python.org/mailman/listinfo/python-list
Sorry, didn't mean to pester Jp
I have checked the archives, Rexec copies __builtins__, causing the del
__builtins__ issue. I'm modifying the lowest level__builtins__.
I am also using __getAttribute__ and __setAttr__, I could find no
mention of security holes on the lists.
Let me re-state the qu
Here's a first attempt at trusted python. I would be grateful if any
python gurus could point out the, no doubt obvious, flaws.
I've stopped fileobject working with patches to fileobject and
frameobject. All child frames of the first 'trusted' frame are trusted
(checked using inspect.getouterfram