On Oct 04, 2006, at 8:21 PM, Kirt Cathey wrote:
Poking around looking for code snippets or direction on how to encrypt a REALSQLDatabase. The documentation that comes with the program download doesn't seem to cover this, while the announcement states that this feature is supported. Any pointers would be helpful. Already searched the user forums.
I believe when you create it you simply set the encryption key and tell it to Encrypt
To use it you should just have to set the encryption key and away you go Encrypt(password as String): encrypts (or re-encrypts) the database with the new password. Using an empty string as a password decrypts the database. Note that this can be used both to encrypt a non-encrypted database and to give a database a new name. Encrypt() is basically an atomic operation as far as REALbasic is concerned and so it can freeze your application for large databases. Also, be sure to back up any database you are about to encrypt. Decrypt(): decrypts an encrypted database. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
