You will most likely get a warning from your browser that certain page elements are going to be transferred over a non-secure connection, thereby compromising the overall security of your page. Other than that, nothing bad will happen.
As others already have written, the browser shows a warning about the partly unsecure page.
The reason for this behaviour is, that having a session cookie, this cookie will be sent along with this unsecure HTTP requests (even for pictures). So if you are not prevent this explicitely, it would be possible to hijack the session, what makes the security of your site worthless.
发布评论
评论(3)
您很可能会从浏览器收到警告,指出某些页面元素将通过非安全连接传输,从而损害页面的整体安全性。除此之外,不会发生任何坏事。
You will most likely get a warning from your browser that certain page elements are going to be transferred over a non-secure connection, thereby compromising the overall security of your page. Other than that, nothing bad will happen.
然后浏览器通过 HTTP 获取图像……并可能警告用户该页面部分不安全。
Then the browser fetches the images over HTTP … and may warn the user that the page is partially insecure.
正如其他人已经写过的那样,浏览器会显示有关部分不安全页面的警告。
出现此行为的原因是,拥有会话 cookie,该 cookie 将与此不安全的 HTTP 请求一起发送(即使是图片)。因此,如果您不明确阻止这种情况,则可能会劫持会话,这会使您网站的安全性变得毫无价值。
As others already have written, the browser shows a warning about the partly unsecure page.
The reason for this behaviour is, that having a session cookie, this cookie will be sent along with this unsecure HTTP requests (even for pictures). So if you are not prevent this explicitely, it would be possible to hijack the session, what makes the security of your site worthless.