JSConf JP

Content Security Policies for Protecting Websites Correctly

Sponsor LTTrack AJapanese

Hina Nakahira

A content security policy (CSP: Content Security Policy) is a security feature that protects websites from cyberattacks. When functioning effectively, it prevents or minimizes information leaks, cross-site scripting (XSS), and unauthorized script loading. However, many websites either have no CSP configured or have configurations that negate most of its benefits, and correct configuration is extremely rare. Learn the correct way to specify a content security policy and strengthen your website’s security even further.