How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Making User-Generated Sites Embeddable: X-Frame-Options vs CSP Frame-Ancestors

calendar_today August 28, 2026 person Ruslan Ianberdin domain dzone

If you let users publish something, such as a page, prototype, or dashboard, sooner or later you want an “embed this” button so they can drop it into a blog, a portfolio, or docs, the way a CodePen result embeds. Then you ship the iframe, and it renders a blank box: refused to connect . The reflex is to blame the iframe.

open_in_new Read original post