Create Sandbox C#

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

I would like to personalize my own one, thanks

Answers


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


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


I would start by looking at Code Access Security.


Need Your Help

How to write a common ClickEvent for many labels?

c# winforms click

I have 10 labels on a panel - and 10 identical ClickEvents (change BackColor).

Adding large numbers on python with an algorithm, not with standard calculating

python algorithm

My teacher gave me a homework to do a python program that adds large numbers and uses standard algorithm of adding. (I know that Python 3.x itself can add large numbers, but I need the way of addin...