Encryption in Current Document

Dear All

Implemenatation of encryption at the Filed Level.

I made some field & choose a Encryption Key generated by me.i also forward that encryption key to all my approver member, so that they merge/accept that encryption key in the mail file & approve my Document.

Now those person who dont have that Encryption Key in thier mail file, they cannot see all my field which are protected by encryption Key & they can’nt do anything at that form.

Now i want to ask can we do all that things which i discuss above through the codding in LotusScript. i also try for that by Encrypted, EncryptionSend metthod are only user by NotesDocument object , not by NotesDocument.

How i can use Encryption on the Current Page.

Thanks for Reply.

Yogesh K Chauhan

Subject: Encryption in Current Document.

Use the NotesDocument.Encrypt method agains the back-end document. Encryption will automatically happen when the UI document is saved.

Subject: RE: Encryption in Current Document.

Thanks Stan Rogers. plz send me ur mail id so that i can talk 2 u in this regard.

Thanks for the reply. Now How can i send a Encryption Key via code. i m using following code:-

Call UiDoc.Save

Call UiDoc.Close

Dim EView As NotesView

Dim DDoc As NotesDocument

Dim Item_OfficeNo As NotesItem '----

Set EView =db.GetView(“All Raised Forex”)

Set DDoc=EView.GetFirstDocument

Set DDoc=EView.GetDocumentByKeyForexNo)

Set Item_OfficeNo = DDoc.GetFirstItem “nummobileno” ) Item_OfficeNo.IsEncrypted = True

DDoc.EncryptionKeys = “MySecretKey”

'DDoc.EncryptOnSend=True

'Call DDoc.Send(False,sendmailtouser)

Call DDoc.Encrypt

Now when i remove the comment from above code a blank mail is sended to next approver.I want all person apply here a mail will fire automatically & merge in to the next approvers ID File so that its not necessary to send encrytpion key via a mail…

User get clear instruction “from Action Menu please accept the Encryption Key”.

Yogesh K Chauhan

yogeshnic@gmail.com

Subject: RE: Encryption in Current Document.

Discussing issues in the context of a forum allows all readers to benefit. Personal email conversation does not. While I’m not Stan’s personal assistant, I think I can foresee his answer …

Apart from that, you have to distribute the physical key and all recipients have to individually accept it.

Subject: RE: Encryption in Current Document.

You can not distribute your key other than by mail (File\security or with a floppy disk-USB device)

Ability to easily distribute\revoke a secret encryption key

http://ideajam.net/IdeaJam/P/ij.nsf/0/7D96A630D92A98B786257450000F7C24?OpenDocument

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/5dcfa6fbd7135d1e85257273004e824d?OpenDocument

If you finally succeed, drop us a line here

JYR

Subject: RE: Encryption in Current Document.

i think the solution is only forwarding encryption key via mail…

but its a very serious issue becuase Lotus provide that type of such code which send encryption key to next approver of the document(which a requester select at the time of creating a document), & also merge automatically in the approver mail ID , No need to accept it from action Menu…

Really a serious Problem…

Yogesh K Chauhan