Mixed content

作者: 就叫初九吧 | 来源:发表于2016-04-21 14:25 被阅读65次

Mixed content 是为了安全性而引入的。

在使用https的页面引入了http的内容,此时,称为mixed content。
分为两类:

  1. Mixed passive/display content
<img>(src attribute)
<video>(src attribute)
<audio>(src attribute)
<object>subresources (when an <object> performs HTTP requests)
  1. Mixed active content

<script> (src attribute)
<link> (href attribute) (this includes CSS stylesheets)
<iframe> (src attribute)
XMLHttpRequest requests
All cases in CSS where a value is used (@font-face,cursor,background-image, and so forth)
<object> (data attribute)


** Mixed active content 默认被阻塞**
判断依据,是否能修改页面的内容
----
[原文地址:https://developer.mozilla.org/en-US/docs/Security/Mixed_content](https://developer.mozilla.org/en-US/docs/Security/Mixed_content)

相关文章

网友评论

    本文标题:Mixed content

    本文链接:https://www.haomeiwen.com/subject/vdutrttx.html