This project has moved. For the latest updates, please go here.

Security.SandboxFactory

SandboxFactory can be used to wrap the process of making a simple homogenous domain

APIs

static System.AppDomain CreateSandbox(System.String applicationBase, System.Security.PermissionSet grantSet)

Create a homogenous sandboxed AppDomain rooted at the specified AppBase

Parameters:
applicationBase location where the application to be sandboxed lives
grantSet permissions to grant the sandbox


Exceptions:
System.ArgumentNullException if applicationBase or grantSet are null


static System.AppDomain CreateSandbox(System.String applicationBase, System.Security.PermissionSet grantSet, System.Reflection.Assembly[] fullTrustAssemblies)

Create a homogenous AppDomain rooted at the specified AppBase, which has an optional collection of full trust assemblies

Parameters:
applicationBase location where the application to be sandboxed lives
grantSet permissions to grant the sandbox
fullTrustAssemblies optional list of assemblies to grant full trust in the sandbox


Exceptions:
System.ArgumentNullException if applicationBase or grantSet are null



Last edited Jun 5, 2009 at 12:00 AM by shawnfa, version 1

Comments

No comments yet.