Permissions-Policy header
One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.
What audibot checks
Whether the home page sends a Permissions-Policy response header, with any value.
- Pass
The header is set.
- Warning
The header is missing.
Why it matters
Permissions-Policy switches browser features — camera, microphone, geolocation, payment and others — off for the page and every frame in it. If a third-party script or an injected one asks for them, the browser refuses before the visitor is prompted.
How do I add a Permissions-Policy header?
List the features the site does not use with an empty allowlist (). A feature the site does use can be limited to itself with (self).
nginx
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=()" always;Apache (mod_headers)
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=()"Caddy
header Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=()"Related tools
- Security headers checker — Check the HTTP security headers sent by a homepage.
- Security headers generator — Write security header settings for your web server or hosting platform.
Other checks in Security headers
- Strict-Transport-Security (HSTS) header
- Content-Security-Policy header
- X-Content-Type-Options: nosniff
- Clickjacking protection (frame-ancestors / X-Frame-Options)
- Referrer-Policy header
- Software versions in response headers
- Cookie flags: Secure, SameSite and HttpOnly
- security.txt
Security headers in the methodology ·All guides
Check your site
audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.