fcbb435a_ofessional_Growth__Leadership___Description
[Title] Code-Access Security - Partial Trusted Service via AppDomainHost [Category] Security [Last Updated] 10/30/2008 [Description] 
Even though the hosting code may have full trust, you may want to host the service itself in partial trust, to reduce the surface area for attack and to run the service in a virtual secure sandbox. You can use IDesign's AppDomainHost to specify exactly the permissions to grant the service, and AppDomainHost will place the service in a separate app domain with those permissions You can specify the permissions individually, or using a permission set file, or use a standard permissions set. You can even host the same service multiple times, each with a different permissions set, as shown in the demo.
IDesign: Excellence. Professional Growth. Leadership.