Hack Forums
iFrame that shows http content on https site? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141)
+---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50)
+---- Thread: iFrame that shows http content on https site? (/showthread.php?tid=6004313)



iFrame that shows http content on https site? - James Burnham - Sep 2, 2019

Is this possible? I see some old solutions but I can't find one that still works.


RE: iFrame that shows http content on https site? - Nachfolger - Sep 2, 2019

Most browsers block this for obvious reasons. You could potentially serve the website through your own HTTPS domain using cURL to fetch the pages as needed.

More work than it's worth, IMO.


RE: iFrame that shows http content on https site? - Frankey - Sep 2, 2019

No, not possible. To be honest you do not even want this to be possible. Will be really insecure.


(Sep 2, 2019 11:25 AM)Nachfolger Wrote:  Most browsers block this for obvious reasons. You could potentially serve the website through your own HTTPS domain using cURL to fetch the pages as needed.

More work than it's worth, IMO.

Oh, shit. Forgot that that's a thing. Well if you have a lot of time to develop such a script, go for it haha.


RE: iFrame that shows http content on https site? - Squito - Sep 3, 2019

If you can, put that old stuff behind Cloudflare, so you can get HTTPS without changing anything on that old site.