Permissions-Policy Header Builder
Choose which origins may use powerful browser features and generate both an HTTP header and iframe allow attribute.
Motion sensor acceleration
Automatic media playback
Camera access
Read the clipboard
Write to the clipboard
Screen capture
Fullscreen presentation
Location access
Motion sensor rotation
Microphone access
MIDI devices
Payment Request API
Picture-in-picture video
Create passkeys
Use passkeys
Prevent screen sleep
Serial devices
USB devices
System sharing
Immersive XR tracking
HTTP response header
Copy-ready output from the selected rules.
Permissions-Policy: accelerometer=(), autoplay=(), camera=(), clipboard-read=(), clipboard-write=(self), display-capture=(), fullscreen=(self), geolocation=(), gyroscope=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-create=(), publickey-credentials-get=(self), screen-wake-lock=(), serial=(), usb=(), web-share=(), xr-spatial-tracking=()
iframe allow attribute
Copy-ready output from the selected rules.
<iframe allow="accelerometer 'none'; autoplay 'none'; camera 'none'; clipboard-read 'none'; clipboard-write 'self'; display-capture 'none'; fullscreen 'self'; geolocation 'none'; gyroscope 'none'; microphone 'none'; midi 'none'; payment 'none'; picture-in-picture 'none'; publickey-credentials-create 'none'; publickey-credentials-get 'self'; screen-wake-lock 'none'; serial 'none'; usb 'none'; web-share 'none'; xr-spatial-tracking 'none'"></iframe>
Permissions Policy support and directive names vary by browser. Test critical features in your supported browsers before enforcing a restrictive policy.