Create Sandbox C# [closed]

痞子三分冷 提交于 2019-12-03 10:37:03

问题


are there any tutorials out there on how to create a sandbox using C#?

I would like to personalize my own one, thanks


回答1:


Study up on using AppDomains. Here's some code examples.




回答2:


We just recently used the MonoSandbox for Security reasons.

I don't know if it works with standard Microsoft's CLR, or if it is specific to the Mono implementation, but I think it works better than just a custom sanbdbox using AppDomains, and since the source code is open you can probably find a way to make it work for you.

The best documentation I have found for the MonoSandbox is here: http://www.mono-project.com/MonoSandbox




回答3:


I would start by looking at Code Access Security.



来源:https://stackoverflow.com/questions/2464854/create-sandbox-c-sharp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!