Walter.Web.FireWall
AddDefaultSecurePolicy Method (ISecurityHeadersBuilder)
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Headers Namespace > ISecurityHeadersBuilder Interface : AddDefaultSecurePolicy Method
Add default security headers configuration in each request of the firewall
Syntax
ISecurityHeadersBuilder AddDefaultSecurePolicy()

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

ISecurityHeadersBuilder Interface
ISecurityHeadersBuilder Members
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