Collection Contents Previous Next PDF

UltraLite.NET User's Guide

Understanding UltraLite.NET Development

Encryption and obfuscation


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

Encryption 

To create a database with encryption, specify an encryption key using the ULConnectionParms.EncryptionKey property, then call the OpenWithCreate method. When you call the OpenWithCreate method, the database is created and encrypted with the specified key.

For more information, see Encryption Key connection parameter .

You can change the encryption key by specifying the new encryption key with the Connection.ChangeEncryptionKey method.

For more information, see ULConnection class and ULConnectionParms class (iAnywhere.Data.UltraLite namespace) or Connection class (iAnywhere.UltraLite namespace).

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

Obfuscation 

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

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


Collection Contents Previous Next PDF