ISecurityHeadersBuilder AddContentSecurityPolicyButTrust( TrustingSites trustingSites, string[] additional, bool allowInline, FramesPolicy framesPolicy, bool reportOnly )
Parameters
- trustingSites
- the list of sites you like to trust
- additional
- additional dost sources
- allowInline
- AllowRaiseIncident in-line css and script, not advisable as it brakes security but sometimes needed
- framesPolicy
- the frame policy used
- reportOnly
- if true it will only report violations in the browser, the firewall however will detect the violation and will trigger the appropriate firewall rules for CSP violators as well as flag the user as such
Return Value
returns the SecurityHeadersBuilder for continuance