On this page
What this issue is
Permissions-Policy is an HTTP response header. It tells the browser which powerful features your page, and the iframes inside it, may use. Examples are the camera, microphone, geolocation, payment request, fullscreen and USB access. It replaced an older header called Feature-Policy.
When the header is missing, the browser falls back to its defaults. The top page can usually ask for these features, and embedded third-party frames can ask for some of them if the page allows it. Security scanners flag the missing header as a hardening gap. It is not a vulnerability by itself.
Why it costs you leads or sales
The direct cost is small. The risk is indirect: a third-party script, chat widget, ad tag or embedded video that is compromised or badly built could ask visitors for location, camera or microphone access on your domain. A surprise permission prompt on a landing page makes people leave and erodes trust. Security audits, enterprise buyers and agency checklists also often list this header, so a missing one can slow a deal or a procurement review.
- Visitor landsPage loads with third-party scripts and embeds
- No Permissions-PolicyBrowser applies default feature rules
- Unwanted promptA widget asks for location or microphone
- Visitor leavesTrust drops, form or checkout abandoned
The break is the missing header. Later steps are the possible consequences, not things that always happen.
How to check if your site has it
Use your browser
Open your page, press F12, go to the Network tab, reload, click the first document request and read Response Headers. Look for
permissions-policy.Or use the command line
Run
curl -sI https://example.com | grep -i permissions-policy. No output means the header is missing.Or use a header scanner
Free online security header checkers report Permissions-Policy along with CSP and other headers.
Check key pages
Test the home page, a landing page, the checkout and the thank-you page. Headers can differ by path or by CDN rule.
curl -sI https://example.com/ | grep -i permissions-policy
# No output = header missingHow to fix it
Start with a policy that switches off features you do not use. An empty list () means no one can use the feature, including your own page. Only allow what you need. If you use a map, a payment button or video calls, allow that feature for self or for the specific origin.
Permissions-Policy: camera=(), microphone=(), geolocation=(), payment=(self), usb=(), interest-cohort=()Use a headers setting
If your security or caching plugin has an HTTP headers section, add Permissions-Policy there. Otherwise add the header in your server config (see Custom code) or at your CDN.
Or add it in PHP
In a child theme or small plugin, hook
send_headersand callheader()with the policy. Do not edit the parent theme directly.
Know the limit
Shopify does not let you set custom response headers on the storefront. The platform controls them, so you cannot add this header yourself.
Use a proxy if needed
If a scanner flags it and you need it fixed, a CDN or proxy in front of the store could add it, but check Shopify's rules and DNS setup first.
Not the right tool
GTM runs in the page and cannot set HTTP response headers. Set the header at the server or CDN instead. A meta tag does not work for Permissions-Policy.
Check hosting options
Webflow hosting has limited custom header support. If you put Cloudflare or another CDN in front of the site, add the header there with a response header rule.
Know the limit
Funnels and sites on GoHighLevel hosting do not expose response header settings. If you use a custom domain behind a CDN, add the header at the CDN.
Know the limit
Wix manages response headers and does not offer a setting for Permissions-Policy. You cannot change it from the dashboard.
Know the limit
Squarespace does not let you set custom HTTP headers. Code injection only affects page HTML, which cannot set this header.
Nginx
Add
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;inside the server block, then reload Nginx.Apache
Enable mod_headers and add
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"to your config or .htaccess.
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=(self)" always;<IfModule mod_headers.c>
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=(self)"
</IfModule>Before
- No Permissions-Policy header
- Browser defaults apply to your page and embeds
- Security scanners flag a gap
After
- Header sent on every page
- Unused features switched off
- Needed features allowed only for named origins
How to confirm it's fixed
curl -sIon the home page shows a permissions-policy line- The header also appears on landing pages, checkout and thank-you pages
- The browser console shows no Permissions policy violation messages
- Contact form, chat widget, booking widget and checkout still work
- A header scanner no longer reports the header as missing
How to prevent it happening again
Keep the header in version-controlled server or CDN config, not in a one-off manual change. A migration, a new CDN or a host change can silently drop it. Re-run a header check after each of those. When you add a new embed that needs a browser feature, update the policy in the same change. Review the policy when you add new third-party tools.
How FunnelGuard handles this
FunnelGuard does not check for a missing Permissions-Policy header yet. It is a possible future check. Today FunnelGuard runs your real customer journeys on a schedule, such as lead forms, checkouts, and booking and chat buttons, and checks each step, the tracking hits and whether test leads arrive. That would show you if a header change broke a form or an embed, but it does not read or report on this header.
To watch for the header, run the curl check above after each deploy, or add a security header scan to your release checklist. You can also schedule a header check with any monitoring tool you already use. After you add the header, a FunnelGuard journey on your form or checkout is a quick way to confirm nothing broke. The Free plan covers 1 site and 2 journeys with daily checks and no card.
Questions people ask
What is the Permissions-Policy header?
Permissions-Policy is an HTTP response header that tells the browser which features your page and its iframes may use, such as camera, microphone, geolocation and payment. It replaced the older Feature-Policy header. It limits what scripts and embeds can ask for on your pages.
Why does my security scan say Permissions-Policy is missing?
Your server, CDN or platform is not sending the header in its responses. Scanners check for it as a hardening measure. It is a low-risk finding, but it is easy to fix on servers where you control headers.
How do I add a Permissions-Policy header?
Add it at the server or CDN. In Nginx use add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;. In Apache use Header always set Permissions-Policy ... with mod_headers. Then reload and check with curl.
Can I add Permissions-Policy on Shopify, Wix or Squarespace?
Usually not. These platforms control response headers and do not offer a setting for custom ones. A CDN or proxy in front of the site may be able to add it, but check the platform's rules and your DNS setup first.
Will a Permissions-Policy header break my forms or tracking?
Not if you only switch off features you do not use. Forms and standard analytics tags do not need camera, microphone or location. Test any map, video call, booking or payment embed after adding it, as a blanket block can stop those.
Can I set Permissions-Policy with a meta tag or Google Tag Manager?
No. Permissions-Policy works as an HTTP response header. A meta tag does not apply it, and GTM runs inside the page after the headers have already been sent. Set it at the server, CDN or hosting layer.
Does FunnelGuard check for a missing Permissions-Policy header?
No, not yet. It is a possible future check. FunnelGuard does run your real funnel journeys, so it can show whether a form or checkout still works after you change headers.
Related issues
- OPS-170Missing Content-Security-PolicyFix guide
- OPS-171Missing X-Frame-Options / frame-ancestors (clickjacking)Fix guide
- OPS-172Missing X-Content-Type-OptionsFix guide
- OPS-173Missing Referrer-Policy (URLs with PII leak to third parties)Fix guide
- OPS-175Cookies without Secure/HttpOnly/SameSiteFix guide
- OPS-155Outdated CMS core with known CVEsFix guide