How to relax Content Security Policy in Chrome?

2,956 views
Skip to first unread message

Jasper

unread,
Aug 2, 2016, 8:04:25 AM8/2/16
to Chromium-discuss
Hi,

I've just come from this forum post from about a year ago: https://productforums.google.com/forum/#!topic/chrome/M1Mql8NmOWE

I was wondering if there are any solutions allowing me to deactivate CSP for a single time or permanently whitelist my trusted source. 
Currently I can only disable CSP for all of chrome but I need to be able to disable it for just one specific website.

Any help would be appreciated. I only posted in this forum because of the link above.



PhistucK

unread,
Aug 2, 2016, 8:06:30 AM8/2/16
to jaspergi...@gmail.com, Chromium-discuss
I believe it is not currently possible. Use a proxy or an interceptor instead (on Windows, for example, you can use Fiddler2).


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Joel Weinberger

unread,
Aug 2, 2016, 2:16:31 PM8/2/16
to phis...@gmail.com, jaspergi...@gmail.com, Chromium-discuss
There is no way to do that in Chrome today. Alternatively, it should be a pretty easy extension to write to remove CSP headers (although that would leave meta-tag policies, but I believe they are relatively less common).
Reply all
Reply to author
Forward
0 new messages