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 | () Block | self only | * Allow all |
|---|---|---|---|
| camera | |||
| microphone | |||
| geolocation | |||
| accelerometer | |||
| gyroscope |
| Feature | () Block | self only | * Allow all |
|---|---|---|---|
| payment | |||
| usb |
| Feature | () Block | self only | * Allow all |
|---|---|---|---|
| interest-cohort | |||
| fullscreen |
Click "Generate Header" to build your policy.