Understanding 3rd party iframes security? -


facebook , others offer little iframe snipplets can put in site. example:

<iframe src="http://www.facebook.com/widgets/like.php?href=http://example.com"         scrolling="no" frameborder="0"         style="border:none; width:450px; height:80px"></iframe> 

what i'd know is, if put code inside side, code load page access dom of page? see security isssues if so.

likewise facebook allows me put iframe site, how facebook applications work. mine data off page contains iframe?

note used facebook example here, many companies same thing quesiton not specific facebook in way not tagging such.

also can parent page access dom of iframe?

actually there specific rules of inheritance iframes. apart of same-origin policy, , highly recommend reading entire google browser sec handbook.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -