Loading http content on https website

前端 未结 3 1287
说谎
说谎 2020-12-03 19:19

I\'m thinking about my website architecture that\'s using https.. I now have a CDN server hosting images , css and more static files.

The website itself is using HTT

3条回答
  •  悲哀的现实
    2020-12-03 20:19

    Yes.

    If a page is loaded over HTTPS then every resource it uses should also be loaded over HTTPS.

    Otherwise a man-in-the-middle could replace images with misleading ones (or ones that exploit buffer overflow issues in browsers to execute code) and scripts with ones that do different things (such as leak data to the third party).

提交回复
热议问题