Search DominoPower's 11,323 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
ENCRYPTION TUTORIAL
Encrypting fields in Domino and Notes
By Tom Lowery

As you probably know, Domino has a pretty sophisticated security scheme. In fact, it's so sophisticated, it can sometimes be difficult to use effectively. At times, in my own applications, I've accidentally locked out legitimate users or left the door open to illegitimate ones. There are many options to examine and set. Worse, many of the security features have counter-intuitive restrictions.

The Domino security model consists of seven distinct levels: Domain, Server, Database, View, Document, Section, and Field. Think of it as the "Seven Layer Burrito of Security." The first two levels allow system administrators to restrict who can access a group of servers or an individual server. Database-level security is enforced through the ACL by system administrators, database managers, or application developers to limit access to a specific database. The last four levels are the exclusive realm of application developers. When designing a database, you can mark certain views, documents, document sections, or even specific fields off-limits to all but authorized individuals.

In this article, I will cover the lowest level, field security in detail. It's tempting to simply use hide-when formulas to hide fields on a form. You can hide a field when a user doesn't possess the needed role, or when the user's access level is less than a given minimum, like Editor access, for example. This technique is fine, as long as you understand it's not real security. Anyone who doesn't meet your criteria can still see the field contents by looking at the Document Properties window.

There's only one real field-level security feature in Domino: encryption. Encryption is also the only security feature that will protect your data even from those who have access to the server console. However, Domino encryption has some drawbacks. I'll talk about those as well.

Secret key vs. public key
Domino encryption comes in two basic flavors: secret key and public key. In a secret key setup, the key used to encrypt the data is also used to decrypt it. This works well if the data only needs to be read by the same person who encrypted it, or by a small, geographically close group. As the application developer, you can create secret keys through the Notes interface. If you want to share the data among several people, you need to be careful to distribute the key in a secure manner. For example, you wouldn't want to send the key through Internet mail. Key management issues aside, secret key encryption can still work well, even for large groups.

Public key encryption involves two keys. One is used to encrypt the data and another is used to decrypt it. The two keys are mathematically related to each other and are called a key pair, and each Domino user has a pair. The key used to encrypt the data is called the public key. It's listed in the Domino Directory. The key used to decrypt the data is called the private key. It's stored in the user's Notes ID file. Although the two keys are related, it's extremely difficult to figure out the private key even if you know its public sibling. If you have a spare supercomputer sitting in your basement, you might be able crack a Domino key pair before the 22nd Century rolls in. Public key encryption bypasses the key management issues present in the secret key method. Everyone already has the keys they need, so there's no need to figure out how to distribute them.


1  ·  2  ·  3  ·  Next »
Other articles you might like
Home > Lotus Technologies > Notes (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
Home > Lotus Technologies > Domino (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
Home > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
Home > Lotus Technologies > Application Development (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
DominoPower TV Episode 1: Inside a strategy session with Teamstudio
More about Domino log files
Say goodbye to the Uh-Ohs. Long live the Tens.
Why your log.nsf might not be purging properly
Latest Lotus Headlines
Recommended Maintenance - Lotus Notes Traveler
Here are the slides and other materials from our Lotusphere session
Microsoft OCS awareness in Lotus Connections and Websphere Portal?
SnTT: XPages Blank Calendar Control (Part 2), adding data
Have your Lotus Notes calendar display multiple time zones
Sample Database for Microsoft Office and Lotus Symphony Integration
Symphony 3.0 beta signals another attack on Office
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Running auto-respond rules when Outlook is closed
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by December 31 to save $350.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login