Search code examples
iframecross-domaincross-domain-policy

Do cross domain iFrames cause security errors in different browsers?


We need to host another tool inside our own website (i.e. www.OurCompany.com) in an iFrame. The tool resides on a different URL (i.e. www.TheToolSite.com).

We do not need to interact with the content of the iframe. But we do need to be able to resize the iframe to fit the content.

Will browsers give security warnings or errors in this situation?


Solution

  • It's been a couple of months since I asked this question, so I can answer from experience: browsers don't complain about cross domain iframes.

    But, cross domain iframe resizing is difficult (though not impossible).