Chrome 通过HSTS强制使用 HTTPS

栏目: 服务器 · 发布时间: 8年前

内容简介:Chrome 通过HSTS强制使用 HTTPS

HSTS 简介

国际互联网工程组织IETE正在推行一种新的Web安全协议HTTP Strict Transport Security(HSTS)

采用HSTS协议的网站将保证浏览器始终连接到该网站的HTTPS加密版本,不需要用户手动在URL地址栏中输入加密地址。

该协议将帮助网站采用全局加密,用户看到的就是该网站的安全版本。

HSTS 配置

打开谷歌浏览器,打开这个网址 chrome://net-internals/#hsts

在 Domain 上设置所需要强制使用 HTTPS 的域名即可

Chrome 通过HSTS强制使用 HTTPS

HSTS 例子

众所周知,V2EX之前 http 的访问遭到了 reset 的问题。

因此,我们可以将 v2ex.com 加入到 HSTS 的处理当中,效果就类似与 HTTPS Everywhere 了


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Data Structures and Algorithms in Python

Data Structures and Algorithms in Python

Michael T. Goodrich、Roberto Tamassia、Michael H. Goldwasser / John Wiley & Sons / 2013-7-5 / GBP 121.23

Based on the authors' market leading data structures books in Java and C++, this book offers a comprehensive, definitive introduction to data structures in Python by authoritative authors. Data Struct......一起来看看 《Data Structures and Algorithms in Python》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

在线进制转换器
在线进制转换器

各进制数互转换器

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器