The Site class represents evidence of the web site from which a code assembly originates. The SiteIdentityPermission derives from this evidence and can be used to confirm that calling code comes from a certain web site.
Object
Site
[Visual Basic] NotInheritable Public Class Site Implements IIdentityPermissionFactory [C#] public sealed class Site : IIdentityPermissionFactory [C++] public __gc __sealed class Site : public IIdentityPermissionFactory [JScript] public class Site implements IIdentityPermissionFactory
The security policy system uses web site together with other evidence about a code assembly to determine what permissions the code should be granted.
Namespace: System.Security.Policy
Assembly: mscorlib.dll