Walter.Web.FireWall
AddDefaultSecurePolicyAndReport(Uri,TrustingSites) Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Headers Namespace > ISecurityHeadersBuilder Interface > AddDefaultSecurePolicyAndReport Method : AddDefaultSecurePolicyAndReport(Uri,TrustingSites) Method
The URL used to report
The sites you are willing to trust
Add default security headers configuration in each request of the firewall and has the browser report any violations to the url but trust some sites
Syntax
ISecurityHeadersBuilder AddDefaultSecurePolicyAndReport( 
   Uri uri,
   TrustingSites trust
)

Parameters

uri
The URL used to report
trust
The sites you are willing to trust

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