TrustSection.HostSecurityPolicyResolverType Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the custom security-policy resolution type.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

	DefaultValue = "")]
public string HostSecurityPolicyResolverType { get; set; }

Property Value

Type: System.String

The custom security-policy resolution type.

If HostSecurityPolicyResolverType is an empty string, the application uses ASP.NET default policy to determine an assembly's permissions. The default policy for evaluating permissions grants full trust to the Global Assembly Cache (GAC) assemblies and partial trust to the other assemblies.

This attribute cannot be set to a null value.

.NET Framework
Available since 4.0
Return to top