[Ironpython-users] Importing modules in a restricted AppDomain

Cesar Mello cmello at gmail.com
Mon Mar 5 19:18:23 CET 2012


Is there a way to load modules without giving permission to the AppDomain
to read .py files from disk?

I need to run user code with limited permissions. They should be able to do
some simple calculations. But when I try to import a module like 'decimal',
filesystem access permission is required.

Thank you a lot for the attention!

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120305/5b7470d4/attachment.html>

More information about the Ironpython-users mailing list