"Andrew Dalke" <dalke at acm.org> writes: > Mark 'Kamikaze' Hughes wrote: > >In Python > >programs, there's already a perfectly functional parser, so you can > >re-use that as the scripting language, if you can trust the user to > >write safe code. If you need a sandbox, OTOH, you have to write another > >language, and you're back to the need for a parser. > > Sometimes rexec is good enough, > http://python.sourceforge.net/devel-docs/lib/module-rexec.html > > Doesn't prevent certain types of denial-of-service attacks. There's PythonMethods in zope for that. I guess they'd be adaptable to other needs. Cheers, M. -- You owe The Oracle a TV with an 'intelligence' control - I've tried 'brightness' but that didn't work. -- Internet Oracularity #1192-01
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4