Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CSP "double policies" #476

Open
rohansharma opened this issue Feb 16, 2022 · 0 comments
Open

Support CSP "double policies" #476

rohansharma opened this issue Feb 16, 2022 · 0 comments

Comments

@rohansharma
Copy link

CSP double policies enable setups that are not possible with just one CSP. When a browser sees a response with multiple CSP headers (or a single CSP header split via commas ","), the browser will enforce all those policies.

One common use case here is to support strict-dynamic with nonces and a URI allowlist, which isn't possible with a single script-src directive.

There's more information in this talk: https://youtu.be/_L06HetskC4?t=1754.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant