Walter.Web.FireWall
AddDefaultSecurePolicyAndReport() Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Configurations Namespace > HeaderConfig Class > AddDefaultSecurePolicyAndReport Method : AddDefaultSecurePolicyAndReport() Method
Add default security headers configuration in each request of the firewall and reports violations to the firewall
Syntax
public ISecurityHeadersBuilder AddDefaultSecurePolicyAndReport()

Return Value

SecurityHeadersBuilder
Remarks

The default configuration is the same as calling

You can chain this with other methods in this class, duplicated policies will be ignored.

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
Walter.Web.FireWall.Headers.SecurityHeadersBuilder.AddFrameOptionsDeny
Walter.Web.FireWall.Headers.SecurityHeadersBuilder.AddXssProtectionBlock
Walter.Web.FireWall.Headers.SecurityHeadersBuilder.AddContentTypeOptionsNoSniff
Walter.Web.FireWall.Headers.SecurityHeadersBuilder.AddStrictTransportSecurityMaxAge(System.Int32)
Walter.Web.FireWall.Headers.SecurityHeadersBuilder.RemoveServerHeader