> Googling for information on securing Python in a "sandbox" seems > indicate that there are some built in features, but they aren't really > trustworthy. Is that correct? > > For my purposes, I really just want to let users run in a sandbox, with > access to only the language, manipuate a few published objects in the > application (and perhaps give them some string and math libraries if > applicable).
It depends on your desired level of security. If you want to make it hacker-proof, it is a lost cause. If you're creating an environment that just offers protection against accidents, that can be done. -- http://mail.python.org/mailman/listinfo/python-list