Security
Permissions Policy Generator
Generate Permissions-Policy headers for camera, microphone, geolocation and other browser features.
Tool
Generate Permissions-Policy headers for camera, microphone, geolocation and other browser features.
This tool runs in your browser. Your input is processed locally and is not uploaded.
About this Tool
Use this Permissions Policy generator to restrict access to sensitive browser capabilities such as camera, microphone, geolocation, payment and fullscreen. Select allowed origins and copy the generated response header.
Examples
- camera=(), microphone=()
- geolocation=(self)
- fullscreen=(self "https://example.com")
Frequently Asked Questions
What is Permissions-Policy?
Permissions-Policy is an HTTP response header that controls access to selected browser features for a page and its embedded content.
What does an empty allowlist mean?
An empty allowlist disables the selected feature for the document and its frames.
What does self mean?
The self keyword allows the feature for the current website origin.