Content Security Policy
1 min read
Permissions Policy and Content Security Policy (CSP) add a layer of security to your app. If you set either one, it must allow Footprint's features and domains. This page lists the values to add.
Required security headers
How you set these headers depends on your framework, but the policies need to include these values:
json
Permissions-Policy
- Footprint identity verification flows use the browser's public key credentials to register and verify passkeys.
- Flows that collect identity documents and selfies also use the camera.
- Some features write to the clipboard, such as copying the test ID in sandbox.
MDN documents the Permissions Policy header in full.
Content-Security-Policy
Footprint's integrations run in an iframe for compliance and security reasons, so Footprint's domains must be allowed in child-src, connect-src, and frame-src.
MDN documents Content Security Policy in full.