On Sat, 2003-01-18 at 03:45, Ben Parker wrote: > I believe the rexec module has what you are looking for. You can fairly > effectively sandbox code by restricting the modules which can be imported, > although it won't guard against things like infinite loops. > > http://www.python.org/doc/current/lib/module-rexec.html
Apparently rexec is not very secure, particularly in the most recent versions of Python. See: http://mail.python.org/pipermail/python-announce-list/2003-January/001954.html -- Ian Bicking Colorstudy Web Development [EMAIL PROTECTED] http://www.colorstudy.com PGP: gpg --keyserver pgp.mit.edu --recv-keys 0x9B9E28B7 4869 N Talman Ave, Chicago, IL 60625 / (773) 275-7241 ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss