locked
CAS Sandboxing Unmanaged Code RRS feed

  • Question

  • I'm developing a hosting application that will allow 3rd parties to load their components into my container. I intend to invoke their assemblies with Partial Trust and am using .NET 4.5 and the example below:

    How to: Run Partially Trusted Code in a Sandbox


    My problem comes when securing unmanaged resources such as native dlls. I would like to deny the partially trusted code from calling out (via PInvoke or otherwise) all dlls except for a special approved list that I provide. Is there anyway of achieving this with CAS or will I have to look into another solution such as giving special permissions within windows to the running user?

    Thanks in advance

    Friday, April 18, 2014 3:20 PM

Answers