Free Support Forum - groupdocs.com

Viewing encrypted files

My technical team has a query with regards to viewing encrypted files from within the viewer. The requirement is that we use standard DES encryption in our files when stored, and the viewer needs to decrypt in order to render the document in the viewer. Can we put a small piece of code within the viewer to complete this? I have marked our chief technical person in the mail. Will like to have an answer on this before we purchase the product.


This message was posted using Email2Forum by adam.skelton. (private)
Hello there,

Thank you for interest in the GroupDocs. Sure, you can “prepare” your file before rendering it in the GroupDocs.Viewer. In the Java stand-alone library there the InputDataHandler interface, which you can implement to provide such files. In the .NET one there is a way to render documents from the stream, so you can provide the stream of decrypted files.

Please, specify what platform you are interested in?

Also, for more details you can check our documentation wiki:
Using streams withing the GroupDocs.Viewer for .NET library - http://groupdocs.com/docs/display/viewernet/How+to+Use+GroupDocs.Viewer+with+Streams+in+ASP.NET+MVC+or+WebForms+Projects
Custom input data source for the GroupDocs.Viewer for Java library - http://groupdocs.com/docs/display/viewerjava/GroupDocs.Viewer+for+Java+-+Custom+Input+DataSource