Restricted Access

iapain iapain at gmail.com
Tue Jul 11 09:21:39 EDT 2006


> unless you're willing to build a restricted runtime that runs on top of the core inter-
> preter, you should assume that anyone writing a Python script that's executed by
> your program has access to everything that your Python process has access to...

I think using replacements I can ban atleast OS module and about files,
either i should ban file open or write my own module something like
rexec, truefully i dont know if I can write that one or not. I was
thinking that this gonna take few days but looking much more difficult.
Thanks Fred! for nice tutorials on www.




More information about the Python-list mailing list