Understanding Code Access Security in .NET
page 5 of 12
by Joydip Kanjilal
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 7575/ 230

What are Policies and Policy Levels?

Policies represent the user role which could be categorized as: Application Domain Policy, User Policy, Machine Policy and Enterprise Policy. The purpose of each is defined below.

Enterprise Policy – This policy is specified by the enterprise administrator. This would target to all managed code in an enterprise.

Machine Policy - This policy is specified by the enterprise administrator. This would target to all managed code in the local computer.

User Policy - This policy is specified by the enterprise administrator or the user of the machine.  This would target to all managed code associated with the current user.

Application Domain Policy - The policy is specified by the enterprise administrator. This would target all managed code in an application.

A policy is a configuration file which holds details on what the assembly is permitted to do depending upon the evidence collected. A common overlap of permission sets between various policies is termed as an Intersection. These policies are defined in a hierarchical structure and before applying permission all of the policies in the hierarchic should accept it.  


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 
Learn More
.NET Tools
asp.net shopping cart
asp.net chart control






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 7/5/2008 5:30:53 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search