agencyleroy/web-security

1.0.8 2019-11-13 08:11 UTC

This package is auto-updated.

Last update: 2024-04-13 18:13:06 UTC


README

Allows you to set HTTP Strict Transport Security and Content Security Policy headers, and configure their values.

This plugin automatically adds a nonce attribute to inline styles and scripts added with registerJs and registerCss and adds a {{ nonce() }} twig function.

Requirements

This plugin requires Craft CMS 3.0.0 or later.