Contents Index Using frames to maintain application state (JScript) Accessing and manipulating data using Dynamic SQL

UltraLite ActiveX User's Guide
  Understanding UltraLite ActiveX Development

Encryption and obfuscation


You can encrypt or obfuscate your UltraLite database using UltraLite ActiveX.

To create a database with encryption, set the ULConnectionParms.EncryptionKey property. When you call CreateDatabaseWithParms and pass in the ConnectionParms object, the database created and encrypted with the specified key.

For more information about the EncryptionKey property, see ULConnectionParms class and ChangeEncryptionKey method.

You can change the encryption key is by specifying the new encryption key on the Connection object. In this example, "apricot" is the encryption key.

Connection.ChangeEncryptionKey("apricot")

After the database is encrypted, connections to the database must specify the correct encryption key. Otherwise, the connection fails.

To obfuscate the database, specify obfuscate=1 as a creation parameter.

For more information about database encryption, see Encrypting UltraLite databases.


Contents Index Using frames to maintain application state (JScript) Accessing and manipulating data using Dynamic SQL