Load a .NET assembly with minimal trust
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?
What about loading it into a different App domain and then it's sand boxed See What are app domains used for?