Loading…
Restrict which browser features (camera, mic, geolocation) the page and its iframes can use.
Permissions-Policy lets you explicitly disable powerful browser APIs your site doesn't use — so a compromised script or embedded iframe can't silently access the camera, microphone or location.
() (no origins allowed) unless you genuinely need them.# No Permissions-Policy headerPermissions-Policy: camera=(), microphone=(), geolocation=(), interest-cohort=()Add via a security-headers plugin or .htaccess.
Add under headers() in next.config.js.
Run a free audit and get a prioritized fix list with auto-generated code.
Run a free audit