HiddenDataSanitizationOptions.RemoveJavaScriptsAndActions

HiddenDataSanitizationOptions.RemoveJavaScriptsAndActions property

Gets or sets a value indicating whether JavaScript and associated actions should be removed from the document. This option is useful to eliminate potential security vulnerabilities introduced by embedded scripts.

public bool RemoveJavaScriptsAndActions { get; set; }

See Also