Skip to content

Add CORS protection and iframe embedding controls - #9

Merged
stefan-burke merged 1 commit into
mainfrom
claude/cors-protection-iframe-Z2mAB
Jan 22, 2026
Merged

Add CORS protection and iframe embedding controls#9
stefan-burke merged 1 commit into
mainfrom
claude/cors-protection-iframe-Z2mAB

Conversation

@stefan-burke

Copy link
Copy Markdown
Member
  • Add security headers to all responses (X-Content-Type-Options, Referrer-Policy)
  • Add X-Frame-Options: DENY and frame-ancestors CSP to prevent clickjacking
  • Make ticket pages (/ticket/:id) embeddable by excluding them from frame restrictions
  • Add CORS protection for POST requests by validating Origin/Referer headers
  • Reject cross-origin POST requests with 403 Forbidden

- Add security headers to all responses (X-Content-Type-Options, Referrer-Policy)
- Add X-Frame-Options: DENY and frame-ancestors CSP to prevent clickjacking
- Make ticket pages (/ticket/:id) embeddable by excluding them from frame restrictions
- Add CORS protection for POST requests by validating Origin/Referer headers
- Reject cross-origin POST requests with 403 Forbidden
@stefan-burke
stefan-burke merged commit f12b5fd into main Jan 22, 2026
1 check passed
@stefan-burke
stefan-burke deleted the claude/cors-protection-iframe-Z2mAB branch January 22, 2026 15:11
stefan-burke pushed a commit that referenced this pull request Jul 13, 2026
Records everything shipped (items 1, 6, 3-decision, the compare-and-set flip,
and all eight Codex findings including the accepted paid-stage-prune edge) and
lays out the remaining order of work: #8 admin lifecycle next, then #9 provider
lifecycle, then #10 cleanup, with #5/#7 deliberately parked in TODO.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants