TGDSDatabaseInfo does not include "encrypted" info

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

TGDSDatabaseInfo does not include "encrypted" info

Post by upscene » Mon 15 Nov 2010 08:28

Hi,

It seems that the TGDSDatabaseInfo class does not include a property to check whether a database is encrypted.

From the DataDef guide:
An isc_database_info()call can be made to determine if database-level encryption is enabled, by passing an isc_info_db_encrypted info item. A value of 1 is returned if the database is encrypted and a value of 0 if not. GSTAT indicates the database is encrypted in the Variable header data section of the header page display and isql does likewise with the
Show Database command.
Can this be included?

Embedded User Authentication can be added too:
If isc_databaseinfo() is invoked with info item isc_info_db_eua_active it returns:
- 1 if EUA is active for the database
- 0 if EUA is not active
Only the owner or SYSDBA can query for this information, once connected to the
database. For all other users, the info request is ignored.
Thanks.

Martijn Tonies
Upscene Productions

AndreyZ

Post by AndreyZ » Wed 17 Nov 2010 09:54

We will add this functionality to the TGDSDatabaseInfo class in one of the next IBDAC builds.

Post Reply