C

Content Security Policy (CSP)

CSP is a web security standard that helps prevent common attacks like cross-site scripting (XSS) and data injection. It works by allowing a website to define a whitelist of trusted domains from which the browser is permitted to load resources (such as scripts, styles, and images). A properly configured CSP can significantly improve a site's security.

Fabian Krumbholz
April 8, 2026
1 min read
GET STARTED

Get a free preloading demo for your site

We analyze your website speed, identify web vitals issues, and compare your competitors.

Book free demo
iPhone 15 Device CheckLaser Scanner