We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Password for Open/Modify

Hi,

We have a java application in which a word document needs to be created and downloaded. When the user opens the word document, he/she needs to challenged with a password(the one that we set in the Open/Modify).

I had used the Document.protect() method to protect the document but when I try to open the document, I am not challenged for the password. I was challenged only when I was trying to edit the document.

Please let me know whether I should be using some other method for password protection/encryption or is this a new feature that needs to be added.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Aspose.Words at the moment cannot encrypt documents; it can only apply document protection. This is known issue #5407 in our defect database. Hopefully this feature will be supported somewhere in 2009.

However Aspose.Words supports loading encrypted documents.

Best regards.

The issues you have found earlier (filed as WORDSNET-1724) have been fixed in this .NET update and this Java update.