Q

Use LotusScript to create encrypted replicas

Learn about Lotus Notes database encryption and the levels it can be set at on locally created replicas using LotusScript.

How can I use LotusScript to programmatically create encrypted replicas with a Lotus Notes user ID?
Lotus Notes database encryption is actually a database property that can be set using the create replica dialog. It also can be set or cleared later in the "Encryption Settings" dialog, found in the "Basics" tab of the database properties dialog.

Unfortunately, I've found that the encryption setting isn't exposed programmatically, although I haven't investigated DXL or the database design class available on the LDD sandbox for references. Nonetheless, you may not need to set it. Starting in Lotus Notes Domino R6, local replica copies receive medium-level encryption settings by default. If this suits your needs, you can create the replica:

Dim Session s = new NotesSession
Dim replicaCopy as NotesDatabase
Set replicaCopy = 
s.currentDatabase.CreateReplica("","filename.nsf")

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchDomino.com:

  • Tip: Encryption and privacy in Lotus Notes Domino
  • Tip: How and why to change replica IDs during a Notes Domino upgrade
  • Reference Center: Lotus Notes Domino Email Encryption
  • Reference Center: Lotus Notes Domino Replication and Synchronization
  • Reference Center: LotusScript
  • This was first published in February 2008

    Dig deeper on LotusScript

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    0 comments

    Oldest 

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to:

    -ADS BY GOOGLE

    SearchWindowsServer

    Search400

    • iSeries tutorials

      Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

    • V6R1 upgrade planning checklist

      When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

    • Connecting multiple iSeries systems through DDM

      Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

    SearchEnterpriseLinux

    SearchDataCenter

    SearchExchange

    SearchContentManagement

    Close