Protection of Paradox tables

Protection of Paradox tables

Post by Sergio Lape » Sat, 28 Jun 2003 00:42:49

I've to add a password to paradox tables in my program.
My code to a table is the following:

            MyTable->TableName = "table";
            StrPCopy(PdxStruct.szTblName, MyTable->TableName);
            lstrcpy(PdxStruct.szTblType, szPARADOX);
            StrPCopy(PdxStruct.szPassword, Contrasena);
            PdxStruct.bPack = TRUE;
            PdxStruct.bProtected = TRUE;
            Chk(DbiDoRestructure(hDb, 1, &PdxStruct,
                NULL, NULL, NULL, FALSE));

When the table is small (few datas), the process is very speed, but
when the table is big (15 MB) and it has some indexs (for example,4)
the process is very slow.
How can I do that the process is been more speed?

Thanks in advanced


Protection of Paradox tables

Post by Steven Gree » Sat, 28 Jun 2003 00:42:38

> How can I do that the process is been more speed?

try doing it on an empty table, then adding the data.. it might be
faster.. but the bottom line is that encrypting a table takes time, and
writing to an encrypted table takes time..


Steve Green - Diamond Software Group, Inc - Waldorf Maryland USA
Corel CTech Paradox - - Support/Downloads/Links


Do you need a Sanity Check?
Upgrade/Downgrade versions?


1. No instructions for Paradox table protection ?

Dear all,

I'm trying to write a Delphi 1.0 program which manipulates tables
in the Paradox format. A question bothers me : is it possible, using a
program written in Delphi, to add a password to a Paradox table which
doesn't have any ? Does a special instruction exist for this use ?

I know how to create passwords for a Paradox table using the Database
Module. I even know how to use, in Delphi, a protected table, using
AddPassword or the DbiAddPassword function of DbiProcs. But to protect
dynamically a table... No function in DbiProcs seems to be dedicated
to this use.

The thing seems strange to me because the Paradox language enabled
the programer to do to such a thing with "Protect", if I remember

A little help would be appreciated.
Many thanks in advance.

Jean-Marie Jonqua

2. Less Errors returned when using SQLOLEDB instead of MSDASQL

3. Paradox table password protection

4. US-CT-Hartford Programmer/Analyst, UNIX, C/C++, SQL, OOA/OOD, CAD/CAM (1231)

5. Encryption / Protection of Paradox data

6. db2 graphics insert

7. Paradox 3.5 password protection

8. MS ODBC driver for Oracle -- How to cancel the AutoCommit option?

9. Password Protection on Paradox databases

10. General protection fault - Paradox 4.5 Win

11. Paradox password protection

12. General Protection Fault Paradox 4.5 DOS in Win95

13. General Protection Violation with Paradox 7