What is a Content-Security-Policy?
A Content-Security-Policy (CSP) is an HTTP response header that tells the browser which sources of scripts, styles, images and other resources a page may use. A strict CSP is one of the most effective defences against cross-site scripting (XSS).