Showing Iframe in a https site shows warning

感情迁移 提交于 2019-12-13 01:53:48

问题


I have a page on my website https://www.mydomain.com/about . It consist of a vimeo video. We are embedding the vimeo video in a iframe on the page.

But it shows a security warning stating that "Do you want to view only the webpage content that was delivered securely ?".

Is there a way to avoid this ?


回答1:


That warning means that some content on your page was served through HTTP instead of HTTPS. It tells the user that, even though the page itself was served through HTTPS, it includes content (image, stylesheets, scripts, iframes) that was not authenticated, and that such content may be subject to MITM attacks.

If you want to avoid the warning, you should set the source of the iframe to an https: URL.



来源:https://stackoverflow.com/questions/15267152/showing-iframe-in-a-https-site-shows-warning

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!