HTTP · Cookies, CORS and security headers
Block clickjacking
Prevents other sites from embedding your pages in frames.
Content-Security-Policy: frame-ancestors 'none'
More cookies, cors and security headers commands
- Set a secure session cookie
- Allow a cross-origin site (CORS)
- Answer a CORS preflight
- Strict-Transport-Security: force HTTPS
- Content-Security-Policy: limit what loads
- X-Content-Type-Options: stop type guessing
All cookies, cors and security headers commands · HTTP cheatsheet