I have a need to allow my users to execute .NET code that they provide on my server. I know security is a big concern, but it has to be done that way.
Currently, I run my users' code under a limited Windows account. But, I am worried that .NET framework provides many classes that, if used maliciously, can harm the server -- classes under the Reflection namespace is one example, CodeDom is another concern.
I wish there was a way to create a "lightweight virtual environment" that can run .NET code, but is fully isolated. Kind of like Virtual PC, but much more lightweight -- the only capability would be that users can do calculations and, possibly, call a 3rd party web service.
Is there something on the market that provides an isolated environment for .NET applications?
Thanks.