I am working on a project where I will allow users to write code that will be compiled, downloaded and launched, this code will allow users to control certain parts of the application. However, since this simply allows them to embed C # in a running application, there are certain limitations that I would like to have in place.
Is there a way you can run a piece of code, but allow any use of System.Threading or any System.IO ?
I know that through code and removing any links would be possible, but I'm sure there will be ways around this. Before writing this, I would at least want to check if there is a simpler and more efficient way.
I have googled, but either I'm looking in the wrong place, or I'm asking the wrong question. However, I know that you, people with stack overflows, are geniuses. Any ideas?
Thanks, and any answer would be greatly appreciated!
source share