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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -