

#
“http-equiv="content-security-policy"”
“http-equiv="content-security-policy"”が指定された“meta”要素はウェブページのコンテンツセキュリティポリシーを指定します。
サンプルコード
<meta http-equiv="content-security-policy" content="script-src 'self'; object-src 'none'">
#
属性と値
| 属性 | 値 | ||
|---|---|---|---|
| 属性 | 説明 | 値 | 説明 | 
| 必須属性 | |||
| http-equiv="" | プラグマディレクティブの定義 | content-security-policy | 
ウェブページのコンテンツセキュリティポリシー | 
| content="" | メタデータの値 | コンテンツセキュリティーポリシー | “Content Security Policy”仕様書で定義されている構文 | 
| 任意属性 | |||
| グローバル属性 | |||
#



Jul. 7th,2020
























