SandboxPolicyReader
Magento\Csp\Model\Collector\Config\SandboxPolicyReader
What it does
This class reads and creates Content Security Policy (CSP) sandbox directive configurations from Magento's config files.
Developers use this to parse sandbox policy settings that control which browser features are restricted, such as form submissions, scripts, popups, and navigation.
It's part of Magento's CSP system that helps protect stores from XSS and other injection attacks.
Public Methods
- read()
- canRead()