4 ms·
> I think that the main problem with iframes (and frames in general) is that it's impossible for the user to check in an easy way where they originates from. E
by askmike 10y ago
> I think that the main problem with iframes (and frames in general) is that it's impossible for the user to check in an easy way where they originates from.
Exactly, just like all other resources (assets, media).
> If the URL bar would automatically change to the iframes URL when the user hovers the iframe
Not only is this extremely confusing for anyone who isn't an expert it also breaks when you don't use a mouse. It can also be circumvented really easy by simply hiding an iframe.
-----
Why exactly don't you like the current behaviour? If you load a page over HTTPS that loads a bunch on insecure pages inside iframes, the page _is_ insecure.
- k4321 10y agoI'm my example it was the other way around. You load an insecure page over HTTP without triggering any visible warning. And then you load a secure iframe over HTTPS with a login form and this triggers the "Not secure" warning. The only reason to do this that I can think of is because of MiM attacks like detaro wrote about.