Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

read NSF files

Posted on 2010-11-12
9
1,418 Views
Last Modified: 2013-12-18
Does anyone have a wrapper class for reading NSF files?
0
Comment
Question by:RichInAustin
9 Comments
 
LVL 22

Expert Comment

by:mbonaci
ID: 34121242
That's a pretty general question. Java class?
Can you explain what exactly do you want to do?
0
 
LVL 1

Expert Comment

by:KNolen
ID: 34121689
In order to read NSF files, you would need the Java libraries that are installed as part of a Lotus Notes or Lotus Domino server installation. Without this installation you can's read NSF files. For example, you can include Notes.jar in a Java project. See an example at

http://www.ibm.com/developerworks/lotus/library/notes-eclipse/

0
 

Author Comment

by:RichInAustin
ID: 34122230
I was not aware of the Java libraries for Notes. Thanks for the info!
I guess I should have included more specifics in my question. I was wondering if anyone knew of a .NET wrapper around the C API. The COM object doesn't (to my knowledge) allow you to remove local security from an NSF file. You can with the C API and I was hoping to incorporate that functionality into my .NET code.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 34122261
Remove local security from an NSF file?? Using the C API?? No way.
0
 

Author Comment

by:RichInAustin
ID: 34122298
Are you sure? Then how do the third party guys do it? Like these guys:
http://www.perfectdatasolutions.com/nsf-security-eraser.html
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 34122805
Oh, if they do what I think they do, it's a (not so) well-known hack to remove one bit in the database. That bit indicates the setting for Enforce consistent ACL across all replicas. Once that bit is removed on a LOCAL database, anyone with a VALID Notes-id can open that database. But that won't say that they can read all documents; well, they can read them, but the encrypted documents will not be decrypted.

So essentially, you're right, and I have to correct myself: you can "break" local security but you can't break encryption.
0
 

Author Comment

by:RichInAustin
ID: 34122918
Makes perfect sense. For some reason I thought it was a function of the C API. Would you be able to share the hack so I can test it? I have some databases with local security. The encryption part is OK, all I need to do is report on which documents can and can't be read and extracted, if it's encrypted it's encrypted!
0
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 34123299
0
 

Author Comment

by:RichInAustin
ID: 34123712
Thank you!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question