Insights:HTTPS and Security Response Headers Self-Checklist: Item-by-Item Review Before Launch
1. HTTPS Basics
- [ ] Certificate is valid.
- [ ] HTTP redirects to HTTPS.
- [ ] No mixed content.
- [ ] TLS 1.2/1.3.
Verify: browser lock icon, curl -I.
2. HSTS
- [ ] Configured.
- [ ]
max-ageis reasonable. - [ ]
includeSubDomainsconfirmed. - [ ] Not blindly preloaded.
Verify: response header contains Strict-Transport-Security.
3. CSP
- [ ] Configured.
- [ ] No excessive
unsafe-inline. - [ ]
object-src 'none'. - [ ]
base-uri 'self'. - [ ] Report URI is reachable.
- [ ] Page functions normally.
Verify: no CSP blocks in the console.
4. nosniff
- [ ]
X-Content-Type-Options: nosniff.
Verify: response header is present.
5. Clickjacking Protection
- [ ]
X-Frame-Optionsorframe-ancestors. - [ ] Sources allowed to embed are permitted.
- [ ] Unnecessary embedding sources are denied by default.
6. Referrer-Policy
- [ ] Configured.
- [ ] No full URL leaked to external sites.
- [ ] Analytics tools can still obtain necessary referrer info.
7. Permissions-Policy
- [ ] Unnecessary camera/microphone/geolocation disabled.
- [ ] Required features enabled.
- [ ] No impact on business operations.
8. Cookie Attributes
- [ ]
Secure. - [ ]
HttpOnly. - [ ]
SameSiteproperly set. - [ ] Login/payment/callbacks working normally.
9. CORS
- [ ] Whitelisted origins only.
- [ ] Arbitrary Origin not reflected.
- [ ] Credential requests configured correctly.
- [ ] Preflight requests working normally.
10. Regression & Monitoring
- [ ] Homepage / listing / detail pages.
- [ ] Login / registration.
- [ ] Forms / payments.
- [ ] Third-party embeds.
- [ ] Mobile devices.
- [ ] CSP reports.
- [ ] Error rate.
Checklist
| Item | Passed | Evidence |
|---|---|---|
| HTTPS | ||
| HSTS | ||
| CSP | ||
| nosniff | ||
| frame | ||
| referrer | ||
| permissions | ||
| cookie | ||
| CORS | ||
| Regression |
Common Issues
| Issue | Cause |
|---|---|
| Blank page | CSP blocked script |
| Login expired | Cookie SameSite/Secure |
| Embedding blocked | Frame denied |
| Payment callback failed | CORS/Cookie |
| Missing analytics data | Strict referrer policy |
Limitations
Security headers are a defense layer, not a silver bullet. Input validation, authorization, patching, and backups remain essential.
Related reading: