Walter.Web.FireWall
AddXssProtectionReport() Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Configurations Namespace > HeaderConfig Class > AddXssProtectionReport Method : AddXssProtectionReport() Method
Add X-XSS-Protection 1; report=api/csp 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()

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