Walter.Web.FireWall
AddXssProtectionReport Method (ISecurityHeadersBuilder)
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Headers Namespace > ISecurityHeadersBuilder Interface : AddXssProtectionReport 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
ISecurityHeadersBuilder AddXssProtectionReport( 
   string reportUrl
)

Parameters

reportUrl
The report URL in a W3C valid format .

Return Value

SecurityHeadersBuilder.
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

ISecurityHeadersBuilder Interface
ISecurityHeadersBuilder Members