Skip to the content
Start free

No Permissions-Policy header

Without Permissions-Policy, scripts and frames on the page may ask for the camera, microphone or location.

Low priority Security and HTTPS

Why it matters #

Permissions-Policy lets a site switch off browser features it does not use, such as the camera, microphone and location, so no script or embedded frame on the page can ask for them. It limits the harm a bad advert or a hacked script could do.

It replaced the older Feature-Policy header, which has a different format. A policy browsers cannot read has no effect.

How to fix it #

Send, for example, "Permissions-Policy: camera=(), microphone=(), geolocation=()" if the site uses none of them. Allow a feature for your own pages with (self) where you need it, such as geolocation=(self) for a store finder.

If you still send Feature-Policy, replace it. Check the result with the Security Headers Checker.

What it looks like, and fixed #

The problem
Feature-Policy: camera 'none'; microphone 'none'; geolocation 'none'

Only the old Feature-Policy header, in its old format.

Fixed
Permissions-Policy: camera=(), microphone=(), geolocation=()

Switches off features the site does not use. Use (self) for any your own pages need, such as geolocation=(self) for a store finder.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
Help me add a Permissions-Policy header to [your website address], which runs on [your platform or server, e.g. WordPress on Apache]. A checker says there is no Permissions-Policy, only the old Feature-Policy, or one browsers cannot read. First check: run "curl -sI https://[your domain]/" (or ask me to paste the headers), then read the source of my key pages and list which browser features the site or its embeds really use: camera, microphone, location, payment buttons, full screen video. Explain plainly what you found. Then give me one header that switches off what is unused, for example camera=(), microphone=(), geolocation=(), and allows the rest with (self) or the exact partner. Rules: do not switch off payment if my checkout uses Apple Pay or Google Pay through a provider, do not break embedded video, back up first, remove the old Feature-Policy, and keep all other headers. Give the exact line and where it goes. Finally, tell me to re-check with the URSY.com Security Headers Checker at ursy.com/security-headers-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Some security plugins can send Permissions-Policy, or your host can add it. Replace any Feature-Policy setting they still send.

Your server or hosting

On nginx add add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always; and on Apache use Header always set.

Your CDN (for example Cloudflare)

On Cloudflare, a response header Transform Rule can add it.

Check it is fixed #

Run the Security Headers Checker again: it should find a Permissions-Policy it can read. Test any feature you allowed, such as a store finder or a payment button.

Official source #

MDN: Permissions-Policy

Questions #

What does the empty () mean?

It means no one may use that feature: not your own pages and not any embedded frame.

Is Feature-Policy still useful?

It was replaced by Permissions-Policy, which uses a different format. Send the new header and drop the old one.

More problems in Security and HTTPS

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com