Show: Delphi C++
Display Preferences

FireDAC.Phys.IBBase.TFDIBSecurity

From RAD Studio API Documentation
Jump to: navigation, search

FireDAC.Phys.IBBase.TFDIBServiceFireDAC.Phys.TFDPhysDriverServiceFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDIBSecurity

Delphi

TFDIBSecurity = class (TFDIBService)

C++

class PASCALIMPLEMENTATION TFDIBSecurity : public TFDIBService

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.IBBase.pas
FireDAC.Phys.IBBase.hpp
FireDAC.Phys.IBBase FireDAC.Phys.IBBase

Description

The class implementing Firebird and InterBase database security management service.

Use the TFDIBSecurity component to add database security management capabilities to an application.

To configure the connection to the database server, you must fill the following properties: DriverLink, Host, Protocol, UserName and Password.

To manage security, an application should:

To manage Interbase-only encryption, an application should:

  • Specify EUADatabase, KeyName.
  • Call SetEncryption / ChangeEncryption / RemoveEncryption.

An Interbase application can manage EUA database status using EUAActive property.

Example

{ Adding a user: }
FDIBSecurity1.DriverLink := FDPhysIBDriverLink1;
FDIBSecurity1.UserName := 'sysdba';
FDIBSecurity1.Password := 'masterkey';
FDIBSecurity1.Host := 'db.srv.host';
FDIBSecurity1.Protocol := ipTCPIP;
FDIBSecurity1.AUserName := 'user1';
FDIBSecurity1.APassword := '12345';
FDIBSecurity1.AFirstName := 'Bill';
FDIBSecurity1.ALastName := 'Scott';
FDIBSecurity1.AddUser;

See Also

Personal tools
In Other Languages
Previous Versions
Assistance