Walter.Web.FireWall
AddXssProtectionReport(String) Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Configurations Namespace > HeaderConfig Class > AddXssProtectionReport Method : AddXssProtectionReport(String) Method
The report URL in a W3C valid format .
Add X-XSS-Protection 1; report={the url in settings.WebServices.CSPReportUrl} to all requests. A partially supported directive that tells the user-agent to report potential XSS attacks to a single URL. Data will be POST'd to the report URL in JSON format.
Syntax
public ISecurityHeadersBuilder AddXssProtectionReport( 
   string reportUrl
)

Parameters

reportUrl
The report URL in a W3C valid format .

Return Value

ISecurityHeadersBuilder.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HeaderConfig Class
HeaderConfig Members
Overload List