ELI5: Explain Like I'm 5

Content Security Policy

Content Security Policy (CSP) is like a set of rules that websites follow to make sure that their content is safe for visitors. It helps websites defend against attacks where bad guys try to inject malware or other malicious code into the page. CSP tells the website what type of code, images, and other content it should allow and what it should block. This way, the website is sure that nothing dangerous is added to the page.