From e792e10594c38b4ff3b703219333b8e739b062e2 Mon Sep 17 00:00:00 2001 From: Yancy Min Date: Thu, 11 Jun 2020 22:06:18 +0000 Subject: [PATCH 1/2] Translate security.md via GitLocalize --- .../performance/audit/security.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/content/zh-cn/fundamentals/performance/audit/security.md diff --git a/src/content/zh-cn/fundamentals/performance/audit/security.md b/src/content/zh-cn/fundamentals/performance/audit/security.md new file mode 100644 index 00000000000..9ccf033749f --- /dev/null +++ b/src/content/zh-cn/fundamentals/performance/audit/security.md @@ -0,0 +1,31 @@ +project_path: /web/fundamentals/_project.yaml +book_path: /web/fundamentals/_book.yaml +description: You won't be able to build a PWA without HTTPS. Serving your site over HTTPS is fundamental for security, and many APIs won't work without it. If you need to justify implementation costs, find out why HTTPS matters. + +{# wf_updated_on: 2018-08-16 #} {# wf_published_on: 2018-08-16 #} {# wf_blink_components: N/A #} + +# 检查站点的安全 {: .page-title } + +{% include "web/_shared/contributors/samdutton.html" %} + +没有使用 HTTPS,您将无法构建 PWA(渐进式网络应用程序)。 + +通过 HTTPS 为您的站点提供服务是安全的基础,如果没有它,许多 API 将无法运行。如果您需要证明实施成本,请了解[ HTTPS 的重要性](/web/fundamentals/security/encrypt-in-transit/why-https)。 + +如果站点对任何资产使用了 HTTP,则会在 URL 栏中警告用户。 Chrome 会显示如下警告。 + +
+ Chrome 'not secure' warning +
在 Chrome 68 中,如果并非所有资产都使用 HTTPS,则地址栏会发出警告
+
+ +HTTPS 应该在任何地方使用 - 不仅仅是在登录页面或结帐页面上。任何不安全的页面或资产都可能成为攻击的载体,让您的网站为您的用户和业务负责。 + +使用[ Chrome DevTools Security ](/web/tools/chrome-devtools/security)面板可以轻松查看网站安全性。记录任何问题。 + +以下示例中的站点不安全,因为某些资源是通过 HTTP 提供的。 + +
+ Chrome DevTools Security panel +
Chrome DevTools 安全面板

From 531383cd95d160437e4bf16bfbabec65297c98a8 Mon Sep 17 00:00:00 2001 From: liangzdz Date: Thu, 11 Jun 2020 22:06:20 +0000 Subject: [PATCH 2/2] Translate security.md via GitLocalize --- src/content/zh-cn/fundamentals/performance/audit/security.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/zh-cn/fundamentals/performance/audit/security.md b/src/content/zh-cn/fundamentals/performance/audit/security.md index 9ccf033749f..3dacf8fea78 100644 --- a/src/content/zh-cn/fundamentals/performance/audit/security.md +++ b/src/content/zh-cn/fundamentals/performance/audit/security.md @@ -1,6 +1,6 @@ project_path: /web/fundamentals/_project.yaml book_path: /web/fundamentals/_book.yaml -description: You won't be able to build a PWA without HTTPS. Serving your site over HTTPS is fundamental for security, and many APIs won't work without it. If you need to justify implementation costs, find out why HTTPS matters. +description: 没有 HTTPS,您将无法构建 PWA。通过 HTTPS 提供您的网站是确保安全的基础,许多 API 都无法在非 HTTPS 状态下运行。如果您需要证明实现成本,不妨了解 HTTPS 为何重要。 {# wf_updated_on: 2018-08-16 #} {# wf_published_on: 2018-08-16 #} {# wf_blink_components: N/A #}