HTTP · Cookies, CORS and security headers

Content-Security-Policy: limit what loads

Restricts where scripts, styles and images may come from, which reduces the impact of XSS.

Content-Security-Policy: default-src 'self'; img-src 'self' data:

Official HTTP documentation

More cookies, cors and security headers commands

All cookies, cors and security headers commands · HTTP cheatsheet

Was this page helpful?