- Powered by Domino 8.5.2 Domino Accelerator Pack
- Just serve your web pages faster
Lotus Triple Search DominoExperts + Blogs + R8 forum -> Script vault -> JavaScript

 SSL/HTTPS and security warnings in IE

Tomas NielsenPost date: 2007-10-12 09:15

I came across this the other day. A customer has a SSL/HTTPS secured site and when doing some JavaScript DOM manipulation to an iframe a security warning about the page containing both secure and unsecure content kept poping up.

It was kind of hard to figure out. Maybe someone can benefit from this.

It turns out that Internet Explorer considers an iframe without a "src" attribute insecure. The trick is to add a dummy src attribute pointing to a picture or something (/icons/ecblank.gif).

A qualified guess is that this will probably be the case with all objects that can have a src attribute. Firefox seems not to be affected.

RSS feed
Subscribe to Forum

Share this page

Top posters
Tomas Nielsen212
Joacim Boive27
Fredrik Stöckel27
Niklas Waller13
Kenneth Haggman11
Bryan Kuhn10
Daniel Lehtihet9
Jonas Israelsson8