Replacement for rexec/Bastion?

Michael Hudson mwh at python.net
Tue Aug 26 10:02:12 EDT 2003


"Colin Coghill (SFive)" <mugginsm at under-the-fridge.com> writes:

[snippety]

> I'd like to be able to have (possibly malicious) users of my software able 
> to script behavior using small snippets of python code. Anything from a line 
> to maybe a few pages in length each.  I can trap endless loops and the like, 
> but I need something to stop them just importing sys and raising havoc.

Zope's RestrictedPython might be an option.

Cheers,
mwh

-- 
  how am I expected to quit smoking if I have to deal with NT
  every day                                                -- Ben Raia




More information about the Python-list mailing list