What is CSP?

A Content Security Policy (CSP) is a security feature used to help protect websites and web apps from clickjackingcross-site scripting (XSS), and other malicious code injection attacks. At the most basic level, a CSP is a set of rules that restricts or green lights what content loads onto your website. It is a widely-supported security standard recommended to anyone who operates a website.