> 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.
Why not to use iframes for embedded dashboards
11–20 of 22 posts
Re: Why not to use iframes for embedded dashboards
#12Re: Why not to use iframes for embedded dashboards
#13I keep revisiting this approach over and over again - I don't know, maybe I never learn. I'm not interested in analytics dashboards, my context is more around stringing together prototype/poc services into workflow pipelines. The idea usually is along the lines of "have an orchestrator service that knows what the user is trying to do, and serves a sequence of specific, embedded micro-UIs backed by services that imple…
Re: Why not to use iframes for embedded dashboards
#14> 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.
Re: Why not to use iframes for embedded dashboards
#15Re: Why not to use iframes for embedded dashboards
#16Re: Why not to use iframes for embedded dashboards
#17This was my instinct when we first started, and years later, on 50% of sales calls someone asks if we use iframes (as a concern). Our enterprise clients don't want to highlight a third-party solution, and iframes scream "not native" to their users.
The technical challenges of avoiding iframes are real, but the business case for solving them has been clear for us.
Re: Why not to use iframes for embedded dashboards
#18I think this kind of blog post should be illegal - there needs to be a disclosure at the beginning, ie, this is informative but it’s also an advertisement. Then I would know to not read any further.
I-frames are actually pretty useful tools. They’re the only way to allow HTML content from another site to exist on your site without trusting or sanitizing it. They actually work pretty well for dashboards.
They come with some serious drawbacks, most notably, not being able to edit the content of the iframe.
I generally prefer using an API or a npm module so I can customize the content of the iframe.
Re: Why not to use iframes for embedded dashboards
#19> 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.
I have never understood the argument against iframes involving security.
Re: Why not to use iframes for embedded dashboards
#20My experience reading this article was being confused about why someone is listing all the drawbacks with i-frames - even obscure drawbacks that most people would not ever encounter. Then I noticed it’s just an Ad for their product. I think this kind of blog post should be illegal - there needs to be a disclosure at the beginning, ie, this is informative but it’s also an advertisement. Then I would know to not read a…