SagaFlow Embeds Its Signed-In Story Game in itch.io, Fixing Four Framing Blockers
Anton, founder of the browser story game SagaFlow, describes making one story page playable inside an itch.io game window. The web app had been built to refuse being framed, so the move exposed four separate problems. The embed is nested two frames deep, and browsers check frame-ancestors against every ancestor, so allowing only the direct parent is insufficient. Cloudflare Pages merges inherited headers, which meant the team had to explicitly remove X-Frame-Options and restate a full Content-Security-Policy for game routes. They also limited the allow-list to exact hosts rather than wildcards to avoid reopening clickjacking risks.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in