Home > Ask the Domino Experts > LotusScript Questions & Answers > Use LotusScript to create encrypted replicas
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Use LotusScript to create encrypted replicas

Cregg Hardwick EXPERT RESPONSE FROM: Cregg Hardwick

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 12 February 2008
How can I use LotusScript to programmatically create encrypted replicas with a Lotus Notes user ID?

>
EXPERT RESPONSE
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


  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    LotusScript
    Can I use LotusScript to merge cells in a Microsoft Word table?
    Modifying LotusScript code for date and time handling
    Use DXL utilities for advanced replication settings in Notes
    Write a LotusScript agent to automate file attachments
    Troubleshooting a scheduled agent not running on a Global Notes Architecture (GNA) server
    Setting up local replication of a Lotus Notes database for offline employees
    Creating a link on an HTML page to a Microsoft Word attachment in a Lotus Notes database
    LotusScript to extract and move attachments to a Lotus Notes mailbox or file folder
    Copying a rich-text field with attachments to a Lotus Notes document
    How to convert Lotus Notes documents to .PDF files

    LotusScript
    Alternate version of @Command forwards subform via LotusScript
    Process large arrays in Notes forms without undue coding or testing
    How to use LotusScript to modify a Lotus Notes view selection
    Display a custom message box using a LotusScript-generated button
    Can I use LotusScript to merge cells in a Microsoft Word table?
    Debug Lotus Notes documents using extracted data
    Extracting attachments from a Lotus Notes rich-text field
    Programmatically replace the design of Lotus Notes databases
    Reading a binary field in an Oracle database with LotusScript
    LotusScript equivalent of @Picklist for Lotus Notes

    Lotus Notes Domino Email Encryption
    Can I stamp the "From" field with a LotusScript encryption agent without affecting the sender name?
    Can I encrypt an email sender's name?
    Encryption and privacy in Lotus Notes Domino
    Application for queueing non-delivery reports on hub mail server
    Notes/Domino 6 version of 'Discover Folder'
    CA buys iLumin, joins email archiving space
    Agent cannot encrypt e-mail message
    Encrypted mail in shared mail folders
    Server's error message says memory is full
    If someone steals an NSF file, can they read the data?

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts