208 208.fi

Content Security Policy (CSP)


Content Security Policy defines a kind of a firewall around a web site. It can prevent cross-site scripting attacks as well as encapsulating the content as part of another web site.

Some quality control tools favour web sites with strict content security policy. Examples include Mozilla HTTP Observatory and PageSpeed Insights.