Back to Magento2

Magento_Csp module

app/code/Magento/Csp/README.md

2.4.8785 B
Original Source

Magento_Csp module

This module implements Content Security Policies. It allows CSP configuration for merchants and provides a way for extension and theme developers to configure CSP headers for their extensions.

Extensibility

Extension developers can interact with the Magento_Csp module. For more information about the extension mechanism, see Plugins.

The dependency injection mechanism enables you to override the functionality of the Magento_Csp module.

A lot of functionality in the module is on JavaScript, use mixins to extend it.