homepage Welcome to WebmasterWorld Guest from 54.166.122.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Prevent mixed content error when embedding HTTP frame inside an HTTPS
Rain_Lover



 
Msg#: 4622733 posted 11:04 am on Nov 12, 2013 (gmt 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?

 

phranque

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



 
Msg#: 4622733 posted 12:22 pm on Nov 12, 2013 (gmt 0)

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

WebmasterWorld Senior Member Top Contributors Of The Month



 
Msg#: 4622733 posted 10:31 pm on Nov 14, 2013 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved