What Is A CSP & What Does It Protect Against?
Consider a content security policy—or CSP—the last line of defense to protect web users in case sophisticated hackers compromise content with harmful code. A CSP header is coded into a website’s infrastructure to define what assets a browser can display so users don’t unknowingly download untrusted content intended to exploit their personal data.
Hackers see trusted websites from reputable businesses as opportunities to reach unsuspecting users with sequences of code—known as scripts—to fulfill their own criminal intent. Scripts can be embedded in assets like fonts, images, CSS files, third-party chatbots and other entities like cookies or Javascript. Once a browser picks up the code, the hacker gains access to sensitive data stored in the browser, such as a user’s login details and personal information. Through custom CSP settings our web developers can implement for you, your business has the power to whitelist secure assets like fonts you’ve downloaded from Google, tags for tracking analytics and images from your own library so they run on your site, delivering an uninterrupted user experience.
This way, code coming from suspicious URLs or unknown sources you haven’t approved automatically triggers a user’s browser not to download or display the content from that source, leaving the user none the wiser while keeping their data safe as they’d expect from your business. Without a CSP in place, your business is more vulnerable to hackers targeting the customers who trust you with their data.