frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Why not to use iframes for embedded dashboards

https://embeddable.com/blog/iframes-for-embedding
24•rogansage•3d ago

Comments

bawolff•12h ago
> 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.

tasn•10h ago
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!

bawolff•8h ago
While i agree that is better than nothing, i've always had my doubts about this approach.

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.

NoahZuniga•7h ago
Also clickjacking isn't a security risk for the page embedding the iframe. This shows fundemental misunderstanding.
johnisgood•5h ago
I have never understood the argument against iframes involving security.
rohan_•12h ago
i don't understand this product - i feel like tools like v0 can one-shot an analytics dashboard these days. i do think something like https://upsolve.ai/ provides real value though
msgodel•11h ago
Oh it's more analytics crap.
josephcsible•11h ago
> Your end users expect brand-consistent dashboards that match the host app down to the smallest pixel.

Is 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?

joloooo•10h ago
We just use Observable Framework https://github.com/observablehq/framework
hbcondo714•10h ago
FWIW, Observable Framework has iframe embeds too: https://observablehq.com/framework/embeds#iframe-embeds
btbuildem•8h ago
I 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 implement each step of the overall process". I can't seem to shake this "do one thing and do it well" unix motto, and keep wanting to bring it over to UX design.
sollewitt•5h ago
I worked on a project exploring this idea and an issue is that while each step in a user journey (get restaurants near me, show me menus, make an order, show me on a map) could invoke a distinct service, provided by different providers that just do that thing well, they all want ownership of the experience and the precious user data and prefer to consume input and render output rather provide output data for others to use - there’s no stdout to pipe. The upshot is apps do everything, which is the opposite of the Unix philosophy.
cududa•6h ago
This is incredible. Thank you so much for making this so I never have to explain this again
aaviator42•4h ago
I think iframes are pretty darn handy and it's really not that hard to leverage their strengths in a secure manner.
andrewstuart•3h ago
Their product is listed as the best alternative.

“Dynamic Programming” is not referring to “computer programming”

https://www.vidarholen.net/contents/blog/?p=1172
244•r4um•3d ago•123 comments

The Daily Life of a Medieval King

https://www.medievalists.net/2025/07/medieval-king-daily-life/
135•diodorus•3d ago•70 comments

Perl Versioning Scheme and Gentoo

https://wiki.gentoo.org/wiki/Project:Perl/Version-Scheme
20•RGBCube•1d ago•15 comments

Staying cool without refrigerants: Next-generation Peltier cooling

https://news.samsung.com/global/interview-staying-cool-without-refrigerants-how-samsung-is-pioneering-next-generation-peltier-cooling
328•simonebrunozzi•15h ago•242 comments

Log by time, not by count

https://johnscolaro.xyz/blog/log-by-time-not-by-count
148•JohnScolaro•10h ago•44 comments

Extend (YC W23) is hiring engineers to build SOTA document processing

https://jobs.ashbyhq.com/extend
1•kbyatnal•8m ago

Show HN: X11 desktop widget that shows location of your network peers on a map

https://github.com/h2337/connmap
161•h2337•11h ago•67 comments

Debugging Bash Like a Sire (2023)

https://blog.brujordet.no/post/bash/debugging_bash_like_a_sire/
54•gfalcao•3d ago•20 comments

ESP32-Faikin: ESP32 based module to control Daikin aircon units

https://github.com/revk/ESP32-Faikin
75•todsacerdoti•8h ago•30 comments

XMLUI

https://blog.jonudell.net/2025/07/18/introducing-xmlui/
541•mpweiher•22h ago•287 comments

New colors without shooting lasers into your eyes

https://dynomight.net/colors/
447•zdw•3d ago•123 comments

The sumerian game early computer game

https://spillhistorie.no/2025/07/10/the-sumerian-game-the-ancestor-of-modern-city-builders/
26•christkv•2d ago•6 comments

Agents built from alloys

https://xbow.com/blog/alloy-agents/
129•summarity•11h ago•63 comments

Super-resolution microscopes reveal new details of cells and disease

https://knowablemagazine.org/content/article/technology/2025/super-resolution-microscopes-reveal-new-details-cells
10•rbanffy•2d ago•1 comments

France launches criminal probe of X over alleged algorithm 'manipulation' X says

https://www.ft.com/content/21818d23-71d7-45a4-ae8c-e7940f5d9e00
7•aspenmayer•45m ago•3 comments

Coding with LLMs in the summer of 2025 – an update

https://antirez.com/news/154
524•antirez•1d ago•359 comments

Simulating hand-drawn motion with SVG filters

https://camillovisini.com/coding/simulating-hand-drawn-motion-with-svg-filters
232•camillovisini•4d ago•17 comments

Structuring Arrays with Algebraic Shapes [video]

https://www.youtube.com/watch?v=3Lbs0pJ_OHI
22•surprisetalk•2d ago•1 comments

Hexanitrogen Energies

https://www.science.org/content/blog-post/hexanitrogen-energies
12•thomasjb•2d ago•4 comments

Stdio(3) change: FILE is now opaque

https://undeadly.org/cgi?action=article;sid=20250717103345
150•gslin•17h ago•71 comments

Using the Matrix Cores of AMD RDNA 4 architecture GPUs

https://gpuopen.com/learn/using_matrix_core_amd_rdna4/
63•ibobev•2d ago•3 comments

Show HN: Conductor, a Mac app that lets you run a bunch of Claude Codes at once

https://conductor.build/
193•Charlieholtz•3d ago•87 comments

AI is killing the web – can anything save it?

https://www.economist.com/business/2025/07/14/ai-is-killing-the-web-can-anything-save-it
253•edward•1d ago•311 comments

Speeding up my ZSH shell

https://scottspence.com/posts/speeding-up-my-zsh-shell
195•saikatsg•20h ago•97 comments

How to handle people dismissing io_uring as insecure? (2024)

https://github.com/axboe/liburing/discussions/1047
87•nromiun•5h ago•83 comments

What my mother didn’t talk about (2020)

https://www.buzzfeednews.com/article/karolinawaclawiak/what-my-mother-didnt-talk-about-karolina-waclawiak
68•NaOH•3d ago•29 comments

Subreply – An open source text-only social network

https://github.com/lucianmarin/subreply
112•lcnmrn•17h ago•63 comments

IPv6 Based Canvas

https://canvas.openbased.org/
68•tylermarques•13h ago•13 comments

How slow motion became cinema’s dominant special effect

https://newrepublic.com/article/196262/slow-motion-became-cinema-dominant-special-effect-downtime
36•cainxinth•3d ago•30 comments

SIOF (Scheme in One File) – A Minimal R7RS Scheme System

https://github.com/false-schemers/siof
52•gjvc•2d ago•5 comments