LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Show details for ContentContent
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login


 

Hosted by Prominic.NET, Inc.
Main topic: Encrypting a database

Encrypting a database (by Normunds Kalnberzins, 11/19/2006 09:05:42 AM)

Martin, this is an issue I've looked at. I do not recall exactly, but I got problems with it and failed to get it working. For one thing (I maybe wrong) you can determine if db is encrypted only for local dbs by using NSFDbIsLocallyEncrypted.

Next I do not remember what I did trying to encrypt it. I do not think there is a regular exposed API for that. I think the only way to encrypt db from code is to use NSFDbCreateExtendedWithOptions when creating it. This is not much, right?

Another thing -- when playing around with this I noticed that setting encryption level from UI did not really encrypt the db by itself; it just set some flag and subsequent compact(?) was necessary to encrypt/decrypt the db.