IFrame和Frame有什么区别? [英] What's the difference between IFrame and Frame?
问题描述
有些电子商务网站会将完整的浏览器页面投入到我的订单中,认证,而不是使用框架(不一定是iFrame,这是一个不太安全的对象)。
来自 http://en.wikipedia.org/wiki/3-D_Secure
对于 为什么 iframe与其他普通框架相比,安全框架不够安全,并且会导致问题,有人可以给我介绍一下吗?基本的区别是什么?
我看到它的方式, iframe
是要走的路。不同的是iframe能够在页面的内容中漂浮,也就是说你可以创建一个html页面并定位一个iframe。这使您可以拥有一个页面并直接在其中放置另一个文档。 frameset
允许您将屏幕分成不同的页面(水平和垂直)并在每个部分显示不同的文档。
<阅读 IFrames安全摘要。
Looking at options for embedding the 3D Secure page inside my own order form, I came across the following:
"Some commerce sites will devote the full browser page to the authentication rather than using a frame (not necessarily an iFrame, which is a less secure object anyway)."
from http://en.wikipedia.org/wiki/3-D_Secure
Can someone give me the lowdown as to why iframes are less secure, and cause problems, as opposed to normal frames? And what are the basic differences?
The way I see it, iframe
is the way to go.
The difference is an iframe is able to "float" within content in a page, that is you can create an html page and position an iframe within it. This allows you to have a page and place another document directly in it. A frameset
allows you to split the screen into different pages (horizontally and vertically) and display different documents in each part.
Read IFrames security summary.
这篇关于IFrame和Frame有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!