Download the PHP package heimrichhannot/contao-csp-bundle without Composer
On this page you can find all versions of the php package heimrichhannot/contao-csp-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download heimrichhannot/contao-csp-bundle
More information about heimrichhannot/contao-csp-bundle
Files in heimrichhannot/contao-csp-bundle
Package contao-csp-bundle
Short Description A Content Security Policy (CSP) bundle to Contao 4.
License GPL-3.0-or-later
Informations about the package contao-csp-bundle
Contao CSP Bundle
This bundle backports parts of the Content Security Policy (CSP) implementation of Contao 5.3 to Contao 4.13.
This bundle has no handling for inline scripts and styles. You need to add
'unsafe-inline'
to your directives.
Upgrade to contao 5
This bundle is just a backport. You can seamlessly upgrade to Contao 5.3 without touching your CSP configuration (you need to uninstall this bundle before upgrading).
Afterwards you can also remove the 'unsafe-inline'
directive from your CSP configuration as contao 5.3 has support for handling inline scripts and styles for csp.
Installation
Install the bundle via composer or contao manager and update the database afterwards.
Configuration
Go to the root page settings. There you find an option to enable CSP. If you enable it, you can configure the CSP directives.
Read more
All versions of contao-csp-bundle with dependencies
contao/core-bundle Version ^4.13
heimrichhannot/contao-utils-bundle Version ^2.232 || ^3.0
nelmio/security-bundle Version ^2.12 || ^3.0
symfony/http-kernel Version ^5.4