CSACyber Security AuditWebbandflow
HTTP security headers

Permissions-Policy

A header that controls which browser features, such as camera or location, a page may use.

What it is

Permissions-Policy lets a site declare which powerful browser features, such as the camera, microphone, or location, are allowed on its pages and in embedded content. By switching off features a page does not need, it reduces what injected or embedded code could abuse. It is a modern hardening measure replacing the older Feature-Policy header.

Why it matters

Disabling unused capabilities shrinks the attack surface available to malicious or compromised content on your pages.

How to fix it

Send a Permissions-Policy header that disables features your site does not use and tightly scopes those it does.

Related terms

References

← Back to the glossary