Hi guys, I am planning to use Mono CoreCLR security infrastructure as a sandbox for running untrusted code. Specifically they are user tests which are run using nunit or msunit on the server once they are uploaded. I read about the CoreCLR attributes but I couldn't find any practical source online (Except the c++ examples and a test from mono github source). All of my code is in C# so no embedding I suppose. I tried invoking nunit-console with mono with security option core-clr and it failed (which I think is reasonable cause I haven't declared anywhere that nunit assemblies are safe).
My current idea is to write a custom nunit runner, declare that as safe critical. And use that as a gateway to run my tests by passing the assembly path from commandline with mono core-clr security switch. Will this idea work or are there loopholes in it which I am missing. Thank you. Any pointers in this or examples are appreciated. ./sun -- View this message in context: http://mono.1490590.n4.nabble.com/Mono-CoreCLR-Nunit-tp4659096.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
