FireDAC.Stan.Option.TFDSecurityOptions.AllowedCommandKinds
Delphi
property AllowedCommandKinds: TFDCommandKinds read GetAllowedCommandKinds
C++
__property Firedac::Stan::Intf::TFDCommandKinds AllowedCommandKinds = {read=GetAllowedCommandKinds, write=SetAllowedCommandKinds, stored=IsACKS, default=4194303};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDSecurityOptions |
Description
Limits the execution of specific SQL commands.
AllowedCommandKinds is used to prevent unwanted operations on the database. AllowedCommandKinds default value is "all command kinds".
Note: Ideally, the developer should use grants in the database engine, when the engine supports it.