On Wed, Oct 17, 2012 at 3:08 AM, Markus Schaber
wrote:
> Hello,
> We’re using IronPython as a hosted script engine in our application.
> Now, we want to restrict the assemblies a user can reference from its python
> script,
>
> Currently, we just forbid “import clr”, by wrapping the import() meth
Take a look at the PlatformAdaptationLayer class. You can create your own and
plug it in to the runtime. This might provide the hooks you are looking for.
In particular, you should be able to override the LoadAssembly() and
LoadAssemblyFromPath() methods to block anything that isn't whitelisted
Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] Memory Leak when using AppDomains
--
ISSUES
1. [New issue] Memory Leak when using AppDomains
http://ironpython.codeplex.com/wor
Hello,
We're using IronPython as a hosted script engine in our application.
Now, we want to restrict the assemblies a user can reference from its python
script,
Currently, we just forbid "import clr", by wrapping the import() method, but
this is a bit harsh, and the side-effects are a little b