Load a .NET assembly with minimal trust
-
30-09-2019 - |
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?
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