Search DominoPower's 11,441 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
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- 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 --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


Learn more at www.integra4notes.com.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login