[Mono-list] Sandbox
Michael McGlothlin
mike.mcglothlin at gmail.com
Thu Jan 15 22:42:03 UTC 2015
Might look at the csharp tool as it lets you run in more of a scripting style. You could probably add to it to build in special security and error handling.
Thanks,
Michael McGlothlin
Sent from my iPhone
> On Jan 15, 2015, at 2:55 PM, Ollhax <ollhak at gmail.com> wrote:
>
> Sounds like a good plan, but the problem is that I can't do step # 3 -
> /create a new AppDomain with low security permissions/.
>
> Just to be sure the documentation is not old, I installed Ubuntu and ran the
> example in the end of this article:
> http://msdn.microsoft.com/en-us/library/bb763046%28v=vs.110%29.aspx
> (slightly modified since the GetHostEvidence stuff isn't supported, and
> tried creating a file instead). Worked fine on Windows (threw an exception),
> but sandboxing was not done in Mono.
>
> I also played a little with the --security setting, but no luck.
>
> Perhaps it's possible to make Roslyn not accept bad code instead? I.e.
> restrict which assemblies you use to a bare minimum, don't build unsafe
> code, and so on. Not sure how safe it would be, but I'm giving it a try.
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Sandbox-tp4665163p4665240.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list