Skip to content

Commit

Permalink
Update Computer Network.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fengxiaop authored Apr 12, 2022
1 parent b1eca46 commit 28ec04b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Computer Network.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ https://zh.wikipedia.org/wiki/HTTP/3

[你访问的网站是如何自动切换到 HTTPS 的?](https://www.sohu.com/a/136637876_487516)

一种是原始的302跳转,服务器把所有的HTTp流量跳转到HTTPS。但这样有一个漏洞,就是
可能在第一次访问站点的时候就劫持。
一种是原始的302跳转,服务器把所有的HTTp流量跳转到HTTPS。但这样有一个漏洞,就是中间人可能在第一次访问站点的时候就劫持。
解决方法是引入HSTS机制,用户浏览器在访问站点的时候强制使用HTTPS。
</details>

Expand Down

0 comments on commit 28ec04b

Please sign in to comment.