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?

Answers


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


Need Your Help

Get resultfrom AJAX call into javascript variable

javascript php jquery ajax

I have been trying to find a solution to this for a while now but i can not seem to get it to work.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.