[IronPython] restrict scripting access

Sanghyeon Seo sanxiyn at gmail.com
Mon Jun 30 16:04:13 CEST 2008


2008/6/30 Rainer Worbis <r.worbis at cubido.at>:
> is there a way to restrict access to objects or namespaces within a script?
> We use IronPython for providing scripting functionality within our .NET
> Application but would like to restrict access to certain functions. Has
> anybody information or a sample how to do that?

Proper sandboxing is a difficult problem. Take a look at the following
post for a good overview.

http://radix.twistedmatrix.com/2008/05/requirements-for-restricted-execution.html

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list