Skip to content
Skip to content
← All HTTP Headers
Security

Permissions-Policy

Controls which browser features and APIs can be used on the page, such as camera, microphone, and geolocation.

Syntax

Permissions-Policy: <feature>=(<allowlist>), <feature>=(<allowlist>)

Example

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

Description

Permissions-Policy (formerly Feature-Policy) controls which browser features and APIs are available. Prevents third-party scripts from abusing camera, microphone, geolocation, or payment APIs.

Each feature can be: * (allow all), self (same origin), specific origins, or () (disable).

Important for sites with third-party content — restricting permissions limits potential damage from compromised scripts.

Check if your website sends this header correctly

Check your headers →

Related Articles

Related Headers