Artica Wiki

Content-Security-Policy HTTP header

The Content Security Policy response header field is a tool to implement defense in depth mechanism for protection of data from content injection vulnerabilities such as cross-scripting attacks.

The Content Security Policy response header field is a tool to implement defense in depth mechanism for protection of data from content injection vulnerabilities such as cross-scripting attacks. 
It provides a policy mechanism that allows developers to detect the flaws present in their application and reduce application privileges. 
It provides developer control over the application at a granular level to prevent various attacks and maintain content integrity.

Inside the content, add value as the following format

directive directive-value ; directive directive-value

Multiple policy directives can be used in a line separated by semi-colon.

Directives: