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.
Encrypting fields in Domino and Notes (continued)

Regardless of which method you use, there are limitations you should be aware of. Domino supports only one key, or key set, per document. You can't encrypt some fields with one key and other fields on the same document with another key. It's possible to use more than one key per document, but all the keys together (the key set) effect all the encrypted fields on the form. Another limitation effects document editing. Only users with a valid encryption key can edit documents created with that form. You can't have one group of people who can read encrypted fields and another group of people editing the documents. It has to be the same group. In a future article, I'll show you a technique for getting around these limitations.

There is one more distinction worth mentioning: North American vs. International encryption. This simply refers to the length of the keys involved. U.S. law prohibits the export of encryption technology unless the key lengths are shorter than a given limit. Therefore, Domino users outside the U.S. and Canada are forced to use encryption with shorter, less secure keys. This law is misguided at best, but that's another article.

Encrypting fields on a form
Now let's get to the nuts and bolts of the matter and see how to use field-level encryption in an application. You'll need to decide a few things. First, what fields need to be protected, and from whom? Also, do you want to use a secret key or public keys? Say I'm building a records database for Human Resources. They want to track all the usual HR things for each employee, such as the employee's name, department, job title, salary range, and current salary, as shown in Figure A.

FIGURE A


The Employee form contains attributes which describe each employee. Roll over picture for a larger image.

Note that all the screen shots in this article show Notes/Domino R4. The methods involved are exactly the same for R5.

It's a sure bet you'll want to limit access to the salary range and current salary fields. Fortunately, this only takes a few clicks. First select the field you want to encrypt. I'll start with SalaryRangeLow. Double click it to bring up the Field Properties dialog. Select the Options tab and, at the bottom of the window under Security options, select Enable encryption for this field, as I've done in Figure B.

FIGURE B


Enable encryption in the Field Properties dialog for each field you want to encrypt. Roll over picture for a larger image.

Repeat this step for each field on the form you want to encrypt. On this form, I'll continue by enabling encryption for SalaryRangeHigh and CurrentSalary.

Each field you encrypt will show up with red field brackets instead of the usual gray ones. This lets users know they're entering data into an encrypted field.

Creating a key
Now we need to determine who will have access to these fields and what the key structure will be. In this example, I'll say that Mary Smith, John Doe, and Lisa Jones will have access to the three encrypted fields. Mary is the VP of Human Resources, John is the Personnel Director, and Lisa is in charge of payroll. Everyone who has access to the database through the ACL will have rights to view the plain-text (non-encrypted) fields.


« Previous  ·  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 --

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 April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login