Skip to content

搞英语 → 看世界

翻译英文优质信息和名人推特

Menu
  • 首页
  • 作者列表
  • 独立博客
  • 专业媒体
  • 名人推特
  • 邮件列表
  • 关于本站
Menu

本地主机安全消息

Posted on 2023-01-01

现在的浏览器要么用挂锁 ( https:// ) 标记站点,要么用“不安全” ( http:// ) 标记站点。这会警告用户,如果没有“ https:// ”的保护,您的通信可能会被您的数据包经过的任何网络读取或修改。但是“ http://localhost ”应该如何标记呢?那是你自己的电脑,所以它是安全的,但连接没有加密,所以挂锁会产生误导。

事实证明,浏览器对于 url 栏有三种选择,而不仅仅是安全和不安全。以下是它们在 Firefox 中的样子:

firefox-https-jefftk.png

firefox-http-neverssl.png

firefox-http-localhost.png

铬合金:

铬-https-jefftk.png

chrome-http-neverssl.png

chrome-http-localhost.png

苹果浏览器:

野生动物园-https-jefftk.png

野生动物园-http-neverssl.png

野生动物园-http-localhost.png

尽管不寻常的 URL 栏处理,主要浏览器现在都将此配置视为安全上下文(规范),这意味着您可以使用需要安全上下文的功能,如加密、 MIDI或地理定位。

评论来自: facebook , mastodon

原文: https://www.jefftk.com/p/localhost-security-messaging

本站文章系自动翻译,站长会周期检查,如果有不当内容,请点此留言,非常感谢。
  • Abhinav
  • Abigail Pain
  • Adam Fortuna
  • Alberto Gallego
  • Alex Wlchan
  • Answer.AI
  • Arne Bahlo
  • Ben Carlson
  • Ben Kuhn
  • Bert Hubert
  • Bits about Money
  • Brian Krebs
  • ByteByteGo
  • Chip Huyen
  • Chips and Cheese
  • Christopher Butler
  • Colin Percival
  • Cool Infographics
  • Dan Sinker
  • David Walsh
  • Dmitry Dolzhenko
  • Dustin Curtis
  • Elad Gil
  • Ellie Huxtable
  • Ethan Marcotte
  • Exponential View
  • FAIL Blog
  • Founder Weekly
  • Geoffrey Huntley
  • Geoffrey Litt
  • Greg Mankiw
  • Henrique Dias
  • Hypercritical
  • IEEE Spectrum
  • Investment Talk
  • Jaz
  • Jeff Geerling
  • Jonas Hietala
  • Josh Comeau
  • Lenny Rachitsky
  • Liz Danzico
  • Lou Plummer
  • Luke Wroblewski
  • Matt Baer
  • Matt Stoller
  • Matthias Endler
  • Mert Bulan
  • Mostly metrics
  • News Letter
  • NextDraft
  • Non_Interactive
  • Not Boring
  • One Useful Thing
  • Phil Eaton
  • Product Market Fit
  • Readwise
  • ReedyBear
  • Robert Heaton
  • Rohit Patel
  • Ruben Schade
  • Sage Economics
  • Sam Altman
  • Sam Rose
  • selfh.st
  • Shtetl-Optimized
  • Simon schreibt
  • Slashdot
  • Small Good Things
  • Taylor Troesh
  • Telegram Blog
  • The Macro Compass
  • The Pomp Letter
  • thesephist
  • Thinking Deep & Wide
  • Tim Kellogg
  • Understanding AI
  • 英文媒体
  • 英文推特
  • 英文独立博客
©2025 搞英语 → 看世界 | Design: Newspaperly WordPress Theme