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.
MORE ENCRYPTION TIPS
Using public key encryption to secure Notes documents
By Tom Lowery

Last month, I described how to use secret key encryption to conceal confidential information in Notes documents. Although I hinted that the same could be done with public key encryption, I didn't provide any details. Some readers took me to task for glossing over the issue. This month I hope to right that wrong.

For a general description of public key encryption and how it differs from the secret key variety, please see last month's article at http://www.dominopower.com/issues/issue199909/encryption001.html. I'll cover the nuts and bolts of public key encryption here.

"Notes architecture assumes public key encryption will be used for mail and secret key encryption will be used for documents."

If you look through Lotus' developer documentation, you'll find very little about public key encryption. What you do find will apply to sending mail, not to saving documents in a database. This is because the Notes architecture assumes public key encryption will be used for mail and secret key encryption will be used for documents. I don't think this is stated anywhere explicitly, but it's certainly implied in the design.

Fortunately, we can use an undocumented feature to encrypt saved documents with public keys. The process differs depending on whether your users have the R4 or R5 client. I'll cover the R5 procedure first because it's simpler.

As is always the case with undocumented features: tread at your own risk. Features are often undocumented because they don't work reliably, may change measurably in future releases, or may vanish without notice.

R5 Public key encryption
To set up R5 public key encryption, you'll use almost the same procedure I described last month for secret key. Let's go back to the Human Resources database example (if you're not sure what this example is, check out last month's article first). The HR department wants to track each 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.

Say we want to limit access to the SalaryRangeLow, SalaryRangeHigh, and CurrentSalary fields. First select a field to encrypt. I'll start with SalaryRangeLow. Double-click it to bring up the Field Properties dialog. Click the Options (beanie) tab, and at the bottom of the window under Security options, select "Enable encryption for this field", as shown in Figure B. Repeat this step for each field on the form you want to encrypt, for example SalaryRangeHigh and CurrentSalary.

FIGURE B


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


1  ·  2  ·  3  ·  Next »
Other articles you might like
Home > Strategies > Security (19 articles)
   Incident report: denial of service attack against ConnectedPhotographer.com
   Centralised email encryption at the Domino server level
   Analysis: Spying Chinese temptress steals senior Brit's BlackBerry
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
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
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 --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Teamstudio announces the 2010 spotlight awards winners!
We had some extraordinary submissions for the 3rd annual Teamstudio Spotlight Awards, and choosing the winners was no easy task for our judges! Click here to find out who won, and to learn more about these remarkable applications and the genius developers behind them!

Tap here for more information.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login