You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm talking about implementing strict-dynamic in script_src alongside a list of known URLs.
Basically using nonce-specified inline scripts from my own views, alongside few URLs like jsdelivr
Of course using strict-dynamic blocks all external scripts.
Not sure how I'd replicate that in the initializer I use for SecureHeaders config.
Needless to say, setting scripts_src twice inside csp, generates a duplicate key warning
The text was updated successfully, but these errors were encountered:
Feature Requests
Adding a new CSP directive
Now I'm not sure if it's a new directive
I'm talking about implementing
strict-dynamic
inscript_src
alongside a list of known URLs.Basically using nonce-specified inline scripts from my own views, alongside few URLs like jsdelivr
Of course using
strict-dynamic
blocks all external scripts.https://csp.withgoogle.com/docs/faq.html#strict-dynamic-with-whitelists suggests a way to do that, specifying two csp headers.
Not sure how I'd replicate that in the initializer I use for SecureHeaders config.
Needless to say, setting
scripts_src
twice inside csp, generates a duplicate key warningThe text was updated successfully, but these errors were encountered: