Page 1 of 1

TGDSDatabaseInfo does not include "encrypted" info

Posted: Mon 15 Nov 2010 08:28
by upscene
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

Posted: Wed 17 Nov 2010 09:54
by AndreyZ
We will add this functionality to the TGDSDatabaseInfo class in one of the next IBDAC builds.