Web.Stencils.TWebStencilsProcessor.Whitelist
Delphi
class property Whitelist: IWhitelist read FWhitelist write FWhitelist;
C++
/* static */ __property System::Bindings::Evalprotocol::_di_IWhitelist Whitelist = {read=FWhitelist, write=FWhitelist};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Web.Stencils.pas Web.Stencils.hpp |
Web.Stencils | TWebStencilsProcessor |
Description
Defines a collection of allowed placeholders that can be processed when rendering stencils.
Setting the Whitelist property allows you to explicitly control which placeholders are considered valid and prevent unauthorized or unexpected substitutions.
This provides a security measure to prevent the exposure of sensitive information. By default, only the following safe properties are accessible:
- TDataSet:
Active, FieldByName, First, Last, Next, Prior, Bof, Eof, FieldCount, Fields, Found, RecordCount, RecNo
. - TStrings:
Contains, ContainsName, IndexOf, IndexOfName, CommaText, Count, IsEmpty, DelimitedText, Names, KeyNames, Values, ValueFromIndex, Strings, Text
.