In message <[EMAIL PROTECTED]>, Emanuele D'Arrigo wrote: > I noticed that this issue has been discussed in this newsgroup > periodically over the years and I seem to understand that - > comprehensive- safe/restricted execution of untrusted code in python
I think the most reliable solution is to take advantage of a level in the system that already has to provide protection against malicious code: use a chroot jail. Or run a complete virtualized machine with its own OS installation. Then the code is free to do what it wants, it simply won't see anything sensitive that it could compromise. -- http://mail.python.org/mailman/listinfo/python-list