Content Security Policy is a browser mechanism that helps to prevent cross-site scripting (XSS) attacks. What is XSS? It’s a kind of attack when an attacker injects some client-side script into a web page in order to get access to the secret data or inject other malicious software. Once the injected script gains the access to the page, it needs to send the data to or somehow communicate with the a
![Using Content Security Policy to Make Apps More Secure | 60devs](https://cdn-ak-scissors.b.st-hatena.com/image/square/7cc161f5e6af878390d5211498ae6d2fe6f75dfd/height=288;version=1;width=512/https%3A%2F%2Ftips.60devs.com%2Fimages%2Fob_image.png)