|
AntiForgeryConfigSuppressXFrameOptionsHeader Property
|
Specifies whether to suppress the generation of X-Frame-Options header which
is used to prevent ClickJacking. By default, the X-Frame-Options header is
generated with the value SAMEORIGIN. If this setting is true, the
X-Frame-Options header will not be generated for the response.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax public static bool SuppressXFrameOptionsHeader { get; set; }
Public Shared Property SuppressXFrameOptionsHeader As Boolean
Get
Set
public:
static property bool SuppressXFrameOptionsHeader {
bool get ();
void set (bool value);
}
static member SuppressXFrameOptionsHeader : bool with get, set
GSF.Web.Security.AntiForgeryConfig.get_SuppressXFrameOptionsHeader = function();
GSF.Web.Security.AntiForgeryConfig.set_SuppressXFrameOptionsHeader = function(value);
View SourceProperty Value
BooleanSee Also