Security & CSP
Keeping a Magento 2 store patched and hard to break into: security patches, Content Security Policy, admin and customer login, and incident recovery.
Start with the current Magento security patches and how to apply them, then security hardening in nine layers for the standing programme. CSP header size and the Scoped CSP module cover Content Security Policy specifically.
-
Article
Magento CSP header size: scope it, don’t just split it
A multi-website Magento 2 store can blow past the nginx header limit. Here is how to cut CSP header size at the root by scoping entries per store view.
-
Module
Magento 2 Scoped CSP Module: Per-Module CSP Whitelists
Per-module CSP whitelists for Magento 2, scoped to website or store view — one integration’s source change never forces a global policy relaxation.