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

Free Support Forum - aspose.com

Encrypt

Hi! Can your component work with encrypt documents (*.doc)?

Hi Vsevolod,


Thanks for your inquiry. Please note that Aspose.Words supports most document’s protection features. Using Aspose.Words you can open a document that is password protected even without the password (as long as its not encrypted). Once document is loaded into Aspose.Words DOM, you can remove any protection from a document.

See the following links in the documentation for further information:
http://www.aspose.com/docs/display/wordsnet/Protecting+Documents
http://www.aspose.com/docs/display/wordsnet/Unprotect+Method
http://www.aspose.com/docs/display/wordsnet/Protect+Method
http://www.aspose.com/docs/display/wordsnet/DocSaveOptions+Class
http://www.aspose.com/docs/display/wordsnet/OoxmlSaveOptions+Class

Please see the following code snippet for your kind reference.

Document doc = new Document();

DocSaveOptions options = new DocSaveOptions(SaveFormat.Doc);<o:p></o:p>

options.Password = “test”;<o:p></o:p>

doc.Save(MyDir + “AsposeOut.doc”, options);

Please let us know if you have any more queries.


Hi!

I try decrypt document with password but have Exception "The document is encrypted using the RC4 CryptoAPI Encryption and this not currently supported."

Hi Vsevolod,


Thanks for your inquiry. Unfortunately, Aspose.Words does not support the RC4 CryptoAPI Encryption at the moment. Could you please attach your input Word document here for testing? I will investigate the issue on my side and provide you more information.

password 111

Hi Vsevolod,


Thanks for sharing the document. I can not open the document by using MS Word with password (password 111). Please check it at your side and share the correct password.

Thanks

password is: 111

Hi Vsevolod,


Thanks for sharing the details. Unfortunately, opening of encrypted documents using the CryptoAPI RC4 Encryption is not supported at the moment by Aspose.Words. However, we had already logged this feature request as WORDSNET-5482 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.