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.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
Syntax
C#
public bool EnableRazorScriptValidation { get; set; }

Property Value

Boolean
See Also