Welcome to WebmasterWorld Guest from 54.147.232.40

Forum Moderators: incrediBILL

Message Too Old, No Replies

Prevent mixed content error when embedding HTTP frame inside an HTTPS

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

Junior Member

5+ Year Member Top Contributors Of The Month

joined:Mar 1, 2010
posts: 196
votes: 0


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?
12:22 pm on Nov 12, 2013 (gmt 0)

Administrator

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

joined:Aug 10, 2004
posts:10753
votes: 45


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.
10:31 pm on Nov 14, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member Top Contributors Of The Month

joined:July 19, 2013
posts:1097
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members