Top "Content-security-policy" questions

Content Security Policy (CSP) aims to mitigate the risk of cross-site scripting attacks by giving developers fine-grained control over the resources a page is allowed to load, as well as the script it's allowed to execute.

google maps api script does load due to content security policy

I am making a google chrome extension where I want to use google maps. The problem is that when I …

javascript jquery google-maps google-chrome-extension content-security-policy
Whitelist multiple domains in content security policy

I am writting a chrome extension that needs to have two domains in its whitelist for the content security policy. …

google-chrome-extension content-security-policy
Content Security Policy: The page's settings blocked the loading of a resource at self?

I have Java-based based web application running on Tomcat 6. My application is running on localhost and port 9001. To make my …

java html security web-applications content-security-policy
reCAPTCHA with Content Security Policy

I'm trying to make reCAPTCHA work along with a strict Content Security Policy. This is the basic version I have, …

recaptcha content-security-policy
CSP style-src: 'unsafe-inline' - is it worth it?

Currently I'm using Modernizr on all my sites and it turns out because of how it works it requires unsafe-inline …

css content-security-policy
Can Tomcat 7 be configured to insert "Content-Security-Policy" HTTP header?

Can Tomcat 7 be configured to insert Content-Security-Policy: frame-ancestors 'self' HTTP header with every response, like it can insert other security …

http security tomcat7 content-security-policy
Debugging CSP violation in Google Chrome

I'm trying to use TinyMCE while using following Content-Security-Policy HTTP header: X-WebKit-CSP: default-src 'self'; script-src 'self' 'unsafe-eval'; img-src *; media-src *; frame-src *; …

javascript security google-chrome tinymce content-security-policy
Is it possible to add multiple Content Security Policy directive in Asp.net Web.config?

I'm currently applying security measures in our Asp.net applications and had to solved a few issues like x-frame-options but …

asp.net security content-security-policy
How to use frame-src and child-src in Firefox and other browsers?

The MDN page on Content Security Policy directives states the frame-src is deprecated and child-src should be used. However, Firefox 37 …

firefox content-security-policy