public ISecurityHeadersBuilder AddDefaultSecurePolicyAndReport( Uri uri, TrustingSites trust )
Parameters
- uri
- The URL used to report
- trust
- The sites you are willing to trust
public ISecurityHeadersBuilder AddDefaultSecurePolicyAndReport( Uri uri, TrustingSites trust )
The default configuration is the same as calling
You can chain this with other methods in this class, duplicated policies will be ignored.
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
HeaderConfig Class
HeaderConfig 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