Welcome to WebmasterWorld Guest from 54.221.28.179

Forum Moderators: incrediBILL

Message Too Old, No Replies

Prevent mixed content error when embedding HTTP frame inside an HTTPS

     

Rain_Lover

11:04 am on Nov 12, 2013 (gmt 0)

5+ Year Member Top Contributors Of The Month



When I embed an HTTP frame inside an HTTPS parent, I get a security error in Chrome & Firefox. Is there any workaround to use an iframe tag without getting this error?

phranque

12:22 pm on Nov 12, 2013 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



serve the iframed content on a secure page using secure web protocol or remove any active content (such as javascript) from the non-secure iframed page.

JD_Toims

10:31 pm on Nov 14, 2013 (gmt 0)

WebmasterWorld Senior Member Top Contributors Of The Month



Another alternative I've had to use when the iFramed content comes from a different webiste that doesn't have https available is to iFrame a "proxy page" on the site I'm working on and use PHP's file_get_contents() on that page to get the info from the other site rather than iFraming the external site's info directly.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month