1

For example I am having an iframe with src https://iframe1.com which is listed in my content security policy. If the whitelisted iframe calls some iframe from another source like https://iframe2.com, will the content security policy block the iframe?

For example I am having an iframe with src https://iframe1.com which is listed in my content security policy. If the whitelisted iframe calls some script from another source like https://thirdparty/script.js, will the content security policy block the script?

If it is going to block it, how do I whitelist the script and iframe?

I know 'strict-dynamic' whitelists scripts if it is generated from whitelisted root script. Does it whitelist the script if it is generate from whitelisted frame source also?

New contributor
Nani is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Nani is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.