Content Security Policy
github.com
Content Security Policy
1–10 of 13 posts
Re: Content Security Policy
#2Re: Content Security Policy
#3
I'm not sure if that introduces any additional attack vectors (other than somebody modifying the document in an unencrypted connection) but it's useful for when hosting statically.EDIT: updated to mimic example in post
Re: Content Security Policy
#4This entire post is like a "why CSP is broken in the real world", yet they're going ahead with deploying it?
Re: Content Security Policy
#5You can also specify a CSP using a document's meta tags: I'm not sure if that introduces any additional attack vectors (other than somebody modifying the document in an unencrypted connection) but it's useful for when hosting statically. EDIT: updated to mimic example in post
You can configure your webserver to add those headers, when hosting statically. There is no need to include it in all your pages.
nginx: add_header Content-Security-Policy "...";
Re: Content Security Policy
#6You can also specify a CSP using a document's meta tags: I'm not sure if that introduces any additional attack vectors (other than somebody modifying the document in an unencrypted connection) but it's useful for when hosting statically. EDIT: updated to mimic example in post
> it's useful for when hosting statically. You can configure your webserver to add those headers, when hosting statically. There is no need to include it in all your pages. nginx: add_header Content-Security-Policy "...";
Re: Content Security Policy
#7This entire post is like a "why CSP is broken in the real world", yet they're going ahead with deploying it?
Re: Content Security Policy
#8This entire post is like a "why CSP is broken in the real world", yet they're going ahead with deploying it?
Their feedback is very useful to us as we iterate on the specification and implementation of CSP. (Disclosure: I'm an editor of the CSP specification.)
Re: Content Security Policy
#9Hope it help someone.