From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/glossary/document_directive/index.html | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 files/zh-cn/glossary/document_directive/index.html (limited to 'files/zh-cn/glossary/document_directive') diff --git a/files/zh-cn/glossary/document_directive/index.html b/files/zh-cn/glossary/document_directive/index.html new file mode 100644 index 0000000000..a1559aba43 --- /dev/null +++ b/files/zh-cn/glossary/document_directive/index.html @@ -0,0 +1,36 @@ +--- +title: Document directive +slug: Glossary/Document_directive +tags: + - CSP + - HTTP + - 安全 +translation_of: Glossary/Document_directive +--- +

{{Glossary("CSP")}} 文档指令(document directives) 出现于 {{HTTPHeader("Content-Security-Policy")}} 首部,支配着应用安全策略的文档的属性或者 worker 运行环境的特征。

+ +

文档指令不将 {{CSP("default-src")}} 指令作为回退机制。

+ +

以下 CSP 指令属于文档指令:

+ + + +
+

更多内容

+ + +
-- cgit v1.2.3-54-g00ecf