github / github/secure_headers
Support CSP "double policies"
Abierto
- Lenguaje dominante
- Ruby
- Estrellas
- 3.2k
- Forks
- 253
- Merge medio
- 19 h 11 min
- PR fusionados (30 d)
- 1
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.