Download the .NET assembly with minimal trust

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

+3
source share
1 answer

How about uploading it to a different application domain and then sanding it in a box ? See What domains are the applications used for?

+1
source

Source: https://habr.com/ru/post/1778397/


All Articles