Question

I'm loading an external assembly at runtime, i.e. Assembly.LoadFile(). Is there a way to specify a different (lower) trust level for the dynamically loaded assembly?

Was it helpful?

Solution

What about loading it into a different App domain and then it's sand boxed See What are app domains used for?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top