How to create a limited appdomain?

I need to run some user generated code. Needless to say, I do not want them to do something interesting, such as opening files or accessing websites. I heard that I can create a blocked AppDomain that prohibits all of this, but I don’t know how to configure it.

+3
source share
1 answer

I found an example in a restricted domain. This may be enough to get you started.

+4
source

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


All Articles