[ This is a repost of the following article: ] [ From: Uwe Schmitt <uwe.schmitt@procoders.net> ] [ Subject: SandBox.py new version ] [ Newsgroups: comp.lang.python ] [ Message-ID: <b4pkcb$eao0$1@hades.rz.uni-saarland.de> ] Hi, I updated SandBox.py to version 0.5. SandBox.py allows executing python code in a restricted environment. New Features: standard configuration for easy use, file object proxies which restrict file objects to given directories and access modes, importing of classes, test code which explains full functionality of SandBox.py and some more. Download/More Info: http://pythonstuff.procoders.net This module might be interesting for the users of the withdrawn modules rexec/bastion because thy where cracked. I found the hacks on the python dev mailing list and they do not work for SandBox.py. I really appreciate any comments on bugs and vulnerabilities. Just drop a note to our board at http://board.procoders.net. Greetings, Uwe. -- Dr. rer. nat. Uwe Schmitt Computer science is no more about Computers, uwe.schmitt@num.uni-sb.de than astronomy is about telescopes. (Dijkstra) http://www.procoders.net -- Dr. rer. nat. Uwe Schmitt Computer science is no more about Computers, uwe.schmitt@num.uni-sb.de than astronomy is about telescopes. (Dijkstra) http://www.procoders.net
Uwe Schmitt <uwe.schmitt@procoders.net> wrote:
Hi,
I updated SandBox.py to version 0.5. SandBox.py allows executing python code in a restricted environment.
Sorry but Jason Harper discovered some bugs in the new code, there is no problem with the overall design but I'll have to spend some hours on code fixing. The interface will not change so you can try Sandbox but do *not* use it in a productive environment. It is stil v0.5. Greetings, Uwe -- Dr. rer. nat. Uwe Schmitt Computer science is no more about Computers, uwe.schmitt@num.uni-sb.de than astronomy is about telescopes. (Dijkstra) http://www.procoders.net
Uwe Schmitt <uwe.schmitt@procoders.net> wrote: I just updated the sandbox module, there were some minor bugs and wrong identations. There is still a problem concerning bad memory management which I will fix as soon as possible. Be aware that the code is still v0.5 and should not be used in sensitive applications. Greetings, Uwe -- Dr. rer. nat. Uwe Schmitt Computer science is no more about Computers, uwe.schmitt@num.uni-sb.de than astronomy is about telescopes. (Dijkstra) http://www.procoders.net
participants (1)
-
Uwe Schmitt