Generator

Permissions-Policy Header Generator

Control which browser APIs your page can access. Restricting unused features prevents third-party scripts from silently accessing your users' camera, microphone, or location.

For each feature: () = blocked for all · self = your origin only · * = allow all

Feature() Blockself only* Allow all
camera
microphone
geolocation
accelerometer
gyroscope
Feature() Blockself only* Allow all
payment
usb
Feature() Blockself only* Allow all
interest-cohort
fullscreen
Click "Generate Header" to build your policy.
Scan all your security headers → HeadersFixer