Header Security
Permissions-Policy Header Check
Learn how to use the Permissions-Policy header to limit access to browser features (camera, microphone, geolocation) and protect user privacy.
What this test checks
This test checks for the presence of the Permissions-Policy header (formerly Feature-Policy). It allows you to control which browser features (camera, microphone, geolocation, etc.) can be used by your site. Absence or an overly permissive policy can expose your users to privacy risks or abuse.
Our recommendation
Add the Permissions-Policy header with a restrictive policy. Example: 'geolocation=(), microphone=(), camera=()' to block these features. To allow certain features on a subdomain, use 'geolocation=(self)'. Test your policy with developer tools or online services.
Security tests