TrustSection.HostSecurityPolicyResolverType Property

.NET Framework (current version)
 

Gets or sets the custom security-policy resolution type.

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

<ConfigurationPropertyAttribute("hostSecurityPolicyResolverType",
	DefaultValue := "")>
Public Property HostSecurityPolicyResolverType As String

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
Show: