XML encodable policy objects implement this interface to support standard to- and from-XML conversion- see ToXml and FromXml methods for details.
ISecurityPolicyEncodable
[Visual Basic] Public Interface ISecurityPolicyEncodable [C#] public interface ISecurityPolicyEncodable [C++] public __gc __interface ISecurityPolicyEncodable
[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.
Class | Description |
---|---|
AllMembershipCondition | Membership condition that matches all code. |
ApplicationDirectoryMembershipCondition | Membership condition tests if the assembly is within the application directory or not. |
FirstMatchCodeGroup | FirstMatchCodeGroup allows security policy to be defined that works similar to a switch {case 1: ...; case 2: ...; ... default: ...; } conditional structure. |
HashMembershipCondition | Membership condition that matches only a certain assembly with specified hash code. |
PolicyStatement | The PolicyStatement class represents an enumeration of the result of a code group matching. |
PublisherMembershipCondition | Security policy membership condition based on software publisher certificate. |
SiteMembershipCondition | Security policy membership condition based on site of origin. |
SkipVerificationMembershipCondition | [To be supplied.] |
StrongNameMembershipCondition | Security policy membership condition based on strong name. |
UnionCodeGroup | Code groups are the building blocks of code access security policy. Each policy level consists of a root code group that may have child code groups and so on forming a tree. Each code group has a membership condition that determines if a given assembly belongs to it or not based on the evidence for that assembly. Only code groups whose membership conditions match a given assembly and their children apply policy.
UnionCodeGroup is the most common type of code group, the policy statement of all matching child code groups (and by extension their children) are unioned together with the permission set of the matching parent code group. Thus, if its membership condition matches this code group will union its policy statement with those of all its children that also match the evidence. |
URLMembershipCondition | Membership condition for security policy- code belongs to the group if it matches the specified URL. |
ZoneMembershipCondition | Security policy membership condition based on zone of origin. |
This interface is similar to ISecurityEncodable with the exception that it includes policy level context: policy level is needed to resolve references to named permission sets.
Namespace: System.Security
Assembly: mscorlib.dll
ISecurityPolicyEncodable Members | System.Security Namespace