Why not to use iframes for embedded dashboards
embeddable.com
Why not to use iframes for embedded dashboards
1–10 of 22 posts
Re: Why not to use iframes for embedded dashboards
#2I would disagree.
Yes iframes have security risks, but they generally pale in comparison to giving some other random site full control of your page, which is the alternative.
Re: Why not to use iframes for embedded dashboards
#3Re: Why not to use iframes for embedded dashboards
#4Re: Why not to use iframes for embedded dashboards
#5Is that really true? Aren't most end users now used to, e.g., YouTube and Twitter iframes looking exactly the same everywhere, no matter what the surrounding site looks like?
Re: Why not to use iframes for embedded dashboards
#6Re: Why not to use iframes for embedded dashboards
#7> Security teams have raised red flags about iframes for years. Cross-frame scripting, clickjacking, and credential phishing are common exploits, since the frame executes third-party code inside your trusted domain I would disagree. Yes iframes have security risks, but they generally pale in comparison to giving some other random site full control of your page, which is the alternative.
You're still giving a 3rd party full access to your website, but at least it's more auditable and safe.
Fwiw, I think iframes are great!
Re: Why not to use iframes for embedded dashboards
#8We just use Observable Framework https://github.com/observablehq/framework
Re: Why not to use iframes for embedded dashboards
#9Re: Why not to use iframes for embedded dashboards
#10> Security teams have raised red flags about iframes for years. Cross-frame scripting, clickjacking, and credential phishing are common exploits, since the frame executes third-party code inside your trusted domain I would disagree. Yes iframes have security risks, but they generally pale in comparison to giving some other random site full control of your page, which is the alternative.
Another alternative is loading a library and setting it to a fixed version. You're still giving a 3rd party full access to your website, but at least it's more auditable and safe. Fwiw, I think iframes are great!
Do people really audit such code? I doubt it. Does the code really not insert any additional code that allows bypassing the whole scheme (esp. If the point is to dynamically insert content).
I also think most of the time, the biggest threat is not the vendor being intentionally evil but the vendor making a mistake that leads to XSS which someone else exploits. After all, if the vendor is intentionally being malicious they can probably sneakily bypass this sort of thing.