python sandbox

Uwe Schmitt uwe.schmitt at procoders.net
Fri Jan 24 09:04:05 EST 2003


Just <just at xs4all.nl> wrote:
> In article <b0ougt$111ko7$1 at hades.rz.uni-sb.de>,
>  Uwe Schmitt <uwe.schmitt at procoders.net> wrote:

>> Hi,
>> 
>> I wrote a simple sandbox for executing pyhton code in a
>> restricted environment.
>> The code can be downloaded from 
>> http://www.procoders.net/download.php?fname=SandBox.py
>> I appreciate any comments. I'm especially interested if
>> my restrictions are secure or if they can be circumvented.

> One fairly obvious hole: the _object attr of your proxies can be 
> accessed without restriction.

Ups. Thanks, I further restricted access to the accesslist attributes.

Greetings Uwe.

-- 
Dr. rer. nat. Uwe Schmitt      Computer science is no more about Computers,
uwe.schmitt at num.uni-sb.de      than astronomy is about telescopes. (Dijkstra)
http://www.procoders.net           




More information about the Python-list mailing list