What is Content Security Policy (CSP), and how does it improve the security of web applications?

Technical