System.Web.Configuration.PagesSection.ValidateRequest Property

Gets or sets a value that determines whether ASP.NET examines input from the browser for dangerous values. For more information, see Script Exploits Overview.

Syntax

[System.Configuration.ConfigurationProperty("validateRequest", DefaultValue=true)]
public bool ValidateRequest { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Request validation is performed by comparing all input data to a list of potentially dangerous values. If a match occurs, ASP.NET raises an System.Web.HttpRequestValidationException.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0