AntiForgeryConfig.SuppressXFrameOptionsHeader プロパティ

定義

ClickJacking の防止に使用される X-Frame-Options ヘッダーの生成を抑制するかどうかを指定します。 既定では、X-Frame-Options ヘッダーは値 SAMEORIGIN を使用して生成されます。 この設定が "true" である場合、応答に対して X-Frame-Options ヘッダーは生成されません。

public static bool SuppressXFrameOptionsHeader { get; set; }
member this.SuppressXFrameOptionsHeader : bool with get, set
Public Shared Property SuppressXFrameOptionsHeader As Boolean

プロパティ値

適用対象