Click or drag to resize

SealServerConfigurationEnableRazorScriptValidation Property

If true, Razor scripts are checked against a deny-list of API tokens before compilation (defense-in-depth). Disabled by default as scripts may legitimately use file/process/reflection APIs. The primary control remains restricting who can edit scripts.

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public bool EnableRazorScriptValidation { get; set; }

Property Value

Boolean
See Also