Advanced CSP & Security Headers

Manage your store's Content Security Policy and key HTTP security headers from one Magento Admin screen — no configuration files to edit and no code deployment for routine policy updates.

Purchase Your Product

Price range: $49.00 through $99.00
Edition
  • Passed all six Adobe Commerce Marketplace quality checks
  • Works with Magento Open Source and Adobe Commerce 2.4
 

Guaranteed Safe Checkout

Razorpay
Mastercard
Visa

Request a Custom Feature

Name

BENEFITS

Update Your Security Policy Without Waiting on a Deployment

Security and operations teams can add, change, or remove allowed sources themselves, and test a policy before it starts blocking anything.

  • Add, edit, and remove CSP allow-list entries from the Admin
  • Test in Report-Only mode before you enforce
  • Separate controls for storefront, Admin, and checkout
6 Directives

Included by default, with more addable

4 Mode Toggles

Report-Only or Restrictive

3 Security Headers

HSTS, Permissions-Policy, Referrer-Policy

6 of 6

Marketplace quality checks passed

VERIFIED BY ADOBE

Quality Report From the Adobe Commerce Marketplace

Every extension on the Marketplace goes through Adobe’s review before it’s listed. This one passed all six checks, as shown on its Marketplace listing.

Installation & Varnish tests

Installs cleanly and works with Varnish

Coding standard

Code sniffer review

Plagiarism check

Copy-paste detector

Malware check

Malware scan

Marketing review

Listing content review

Manual testing

Manual QA pass

FEATURES

Everything the Plugin Does, Explained

Manage CSP Policies with Grid (CRUD Operations)

  • The Advanced CSP & Security Headers extension allows administrators to manage Content Security Policies directly from the Magento Admin Panel.
  • The Manage Policy grid makes it easy to
    • Create new policies, 
    • View existing entries, 
    • Edit policy details using Inline editing, 
    • Mass delete unwanted policies
  •  Filter grid records to quickly find specific policies

Manage Trusted Domains and Inline Scripts with Host and Hash Entries

The extension allows administrators to add trusted external domains and specific inline scripts or styles to the CSP allow-list

  • Host Entries: Allow administrators to whitelist trusted external domains using directives such as script-src, style-src, and img-src and more options 
  • Hash Entries : Allow administrators to trust specific inline JavaScript scripts or CSS styles using hash values generated from the browser console using directives such as script-src, style-src

Configure CSP Security Settings

The extension provides centralized CSP configuration for the Magento Storefront, Admin Panel, and Checkout.

  • Report-Only Mode: Configure Report-Only Mode (Yes/No) for the Storefront, Admin Panel, Checkout Inline Scripts, and Checkout Event Handlers. Yes monitors CSP violations without blocking resources, while No enforces CSP policies and blocks unauthorized resources.
  • Checkout Event Handlers: Control inline JavaScript event handlers such as onclick and onchange during checkout.
  • Policy List Configuration: Add new CSP directives and customize existing policy entries

Manage HTTP Security Headers

The extension provides centralized management of important HTTP security headers from the Magento Admin Panel

  • Permissions-Policy: Configure browser feature permissions to control access to features such as camera, microphone, and geolocation.
  • Referrer-Policy: Control how much referrer information is shared when users navigate between websites.
  • HSTS Configuration: Access Magento’s native HTTP Strict Transport Security (HSTS) settings to enforce secure HTTPS connections between browsers and your Magento store

HOW IT WORKS

Three Steps, Then You’re Done

Add allow-list entries

Create Host and Hash entries for the trusted sources your store uses, in the Manage Policy grid.

Start in Report-Only

Leave storefront, Admin, and checkout in Report-Only mode so nothing is blocked while you test.

Review and adjust

Look for potential violations, then add any missing sources or directives.

Switch to Restrictive

Enforce the policy area by area once you’re confident it won’t block what your store needs.

USE CASES

Made for Stores That Rely on Third-Party Resources

Most Magento stores load scripts, styles, and connections from outside services. This extension helps you allow the ones you trust.

Payment gateways

Analytics tools

CDNs

Marketing tools

Customer-support services

Custom checkout implementations

COMPATIBILITY

Works With Your Current Stack

RequirementMinimumStatus
Magento Open Source2.4Fully supported
Adobe Commerce2.4Fully supported
Varnish–Marketplace installation & Varnish tests passed
Multi-store setups–Not yet verified

FAQ’s

Advanced CSP & Security Headers — Questions, Answered

Straight answers about policies, modes, headers, and what the extension does and doesn’t do.

Does this replace editing CSP configuration files by hand?

For routine updates, yes. Administrators add, edit, and remove CSP allow-list entries from the Magento Admin, and the policies feed into Magento’s native CSP policy pipeline, so there’s no need to maintain a whitelist.xml file manually.

Which Magento and Adobe Commerce versions are supported?

Adobe Commerce, and Magento Open Source, all on the 2.4 line.

What’s the difference between Host and Hash entries?

A Host entry allows a trusted domain for a specific CSP directive, such as script-src. A Hash entry allows one specific inline script or style by its hash.

What are Report-Only and Restrictive modes?

Report-Only lets you test a policy and spot potential violations without blocking anything. Restrictive enforces the policy. You can run a policy in Report-Only first and switch to Restrictive once you’re confident it won’t block required resources.

Can I use different modes for the storefront, the Admin, and checkout?

Yes. Report-Only and Restrictive are independent toggles for the storefront, the Admin, checkout inline scripts, and checkout inline event handlers such as onclick and onchange.

Which CSP directives are included?

Six are included by default: script-src, connect-src, media-src, img-src, font-src, and style-src. You can add other directives to the list if your store needs them, and they appear in the Policy dropdown when you add allow-list entries.

Do I need to clear the cache after changing a policy?

Yes. The Full Page Cache and Config cache are invalidated automatically whenever a policy entry is saved or deleted.

Will this change how my storefront or checkout looks?

No. It affects browser resource loading and security behavior, and it adds no new customer-facing pages or components. Your existing storefront and checkout experience can stay the same when policies are configured correctly.

Which other security headers can I manage?

Permissions-Policy and Referrer-Policy are configurable from the same screen, and there’s a shortcut to Magento’s native HSTS (HTTP Strict Transport Security) setting.

Will it work with payment gateways, analytics, CDNs, and similar services?

You can add the trusted hosts and hashes those services need, so their scripts, styles, and connections are allowed through your policy.

Does this guarantee my store is secure or compliant?

No single tool does. CSP and security headers are one layer of browser-side hardening. Use Report-Only to test before enforcing, and treat this as part of your wider security practice.

How do I get support?

Email the vendor at [email protected], or use the Contact Vendor link on the Adobe Commerce Marketplace listing.

Powerful WooCommerce Plugins for Discounts

Price range: $49.00 through $99.00