Imperative Content Security Policy with Service Worker

I wrote up my thoughts on detecting content injection into sites. It came down to:
Use HTTPS Use Content Security Policy (CSP) The issue being CSP has low adoption with a poor developer experience. It got me thinking about how it could be improved and fit into a model that I think is more amiable to most developers. A little bit of back story.
CSP is a declarative language that describes to the browser how it should manage requests made by a page to the network.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p>I wrote up my thoughts on detecting content injection into sites. It came down to:</p> <ul> <li>Use HTTPS</li> <li>Use Content Security Policy (CSP)</li> </ul> <p>The issue being CSP has low adoption with a poor developer experience. It got me thinking about how it could be improved and fit into a model that I think is more amiable to most developers. A little bit of back story.</p> <p>CSP is a declarative language that describes to the browser how it should manage requests made by a page to the network.</p> <p>There is nothing inheritnelty wrong with this, it's just that I find the syntax hard.</p> <p>Will we get imperative Content Security Policy with Service Worker for free.</p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2015-03-10T00:00:00+00:00) Imperative Content Security Policy with Service Worker. Retrieved from https://www.scien.cx/2015/03/10/imperative-content-security-policy-with-service-worker/

MLA
" » Imperative Content Security Policy with Service Worker." Paul Kinlan | Sciencx - Tuesday March 10, 2015, https://www.scien.cx/2015/03/10/imperative-content-security-policy-with-service-worker/
HARVARD
Paul Kinlan | Sciencx Tuesday March 10, 2015 » Imperative Content Security Policy with Service Worker., viewed ,<https://www.scien.cx/2015/03/10/imperative-content-security-policy-with-service-worker/>
VANCOUVER
Paul Kinlan | Sciencx - » Imperative Content Security Policy with Service Worker. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2015/03/10/imperative-content-security-policy-with-service-worker/
CHICAGO
" » Imperative Content Security Policy with Service Worker." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2015/03/10/imperative-content-security-policy-with-service-worker/
IEEE
" » Imperative Content Security Policy with Service Worker." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2015/03/10/imperative-content-security-policy-with-service-worker/. [Accessed: ]
rf:citation
» Imperative Content Security Policy with Service Worker | Paul Kinlan | Sciencx | https://www.scien.cx/2015/03/10/imperative-content-security-policy-with-service-worker/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.