How to encrypt documents

Hi All,

I have thousands of documents in database. I wan to check all these documents one by one weather its encrypted or not if not I want to encrypt all these documents.

Assume that the documents reside in this view “active "(view name)

If any code (script) required please help in that. It’s very urgent

Subject: How to encrypt documents

Murali,

U can try somthin like this,

Forall i In doc.Items

i.IsEncrypted = True

End Forall

doc.PublicEncryptionKeys = **field name containing users u want to encrypt document for e.g. doc.ReaderField

doc.Encrypt

doc.save (true,true)

:slight_smile: