homepage Welcome to WebmasterWorld Guest from 54.163.91.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
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:4622735
 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




msg:4622768
 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




msg:4623390
 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