-
Build the CSP configuration like this:
An enum holding the possible CSP Directives.
An enum representing the only possible values for the sandbox directive
An enum holding the default values for -src directives including the mandatory single quotes
CSPHeaderConfiguration
contains the configuration for a Content-Security-Policy header.
Defines the possible headers for a CSP directive.
CSPRenderable
describes a directive that is part of a Content-Security-Policy (CSP in
short).
-
Build the CSP configuration like this: