Stores the default settings for the ContentSecurityPolicy, if you choose to use it. The values here will be read in and set as defaults for the site. If needed, they can be overridden on a page-by-page basis.
Suggested reference for explanations:
- Siehe auch
- https://www.html5rocks.com/en/tutorials/security/content-security-policy/
◆ $autoNonce
| bool Config::ContentSecurityPolicy::$autoNonce = true |
Replace nonce tag automatically
◆ $baseURI
| Config::ContentSecurityPolicy::$baseURI |
◆ $childSrc
| Config::ContentSecurityPolicy::$childSrc = 'self' |
◆ $connectSrc
| Config::ContentSecurityPolicy::$connectSrc = 'self' |
◆ $defaultSrc
| Config::ContentSecurityPolicy::$defaultSrc |
◆ $fontSrc
| Config::ContentSecurityPolicy::$fontSrc |
◆ $formAction
| Config::ContentSecurityPolicy::$formAction = 'self' |
◆ $frameAncestors
| Config::ContentSecurityPolicy::$frameAncestors |
◆ $frameSrc
| Config::ContentSecurityPolicy::$frameSrc |
◆ $imageSrc
| Config::ContentSecurityPolicy::$imageSrc = 'self' |
◆ $manifestSrc
| Config::ContentSecurityPolicy::$manifestSrc |
◆ $mediaSrc
| Config::ContentSecurityPolicy::$mediaSrc |
◆ $objectSrc
| Config::ContentSecurityPolicy::$objectSrc = 'self' |
◆ $pluginTypes
| Config::ContentSecurityPolicy::$pluginTypes |
◆ $reportOnly
| bool Config::ContentSecurityPolicy::$reportOnly = false |
Default CSP report context
◆ $reportURI
| string Config::ContentSecurityPolicy::$reportURI = null |
Specifies a URL where a browser will send reports when a content security policy is violated.
◆ $sandbox
| Config::ContentSecurityPolicy::$sandbox |
◆ $scriptNonceTag
| string Config::ContentSecurityPolicy::$scriptNonceTag = '{csp-script-nonce}' |
◆ $scriptSrc
| Config::ContentSecurityPolicy::$scriptSrc = 'self' |
◆ $styleNonceTag
| string Config::ContentSecurityPolicy::$styleNonceTag = '{csp-style-nonce}' |
◆ $styleSrc
| Config::ContentSecurityPolicy::$styleSrc = 'self' |
◆ $upgradeInsecureRequests
| bool Config::ContentSecurityPolicy::$upgradeInsecureRequests = false |
Instructs user agents to rewrite URL schemes, changing HTTP to HTTPS. This directive is for websites with large numbers of old URLs that need to be rewritten.
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: