Friday, 11 February 2022

Set headers on sandbox with srcdoc?

I'm trying to set some CSP policies on my sandboxed iframe with allow scripts. Naturally meta tags wouldn't do the trick if the iframe itself has scripts enabled and can just remove the meta tags right? Is there a way to create the iframe with srcdoc and still set the CSP or do I have to load it from a server?



from Set headers on sandbox with srcdoc?

No comments:

Post a Comment