My application is hosted in a VM on Microsoft Azure and handles MS-Office documents (.doc, .docx, .xls, .xlsx, .ppt, .pptx). Users need to view these documents stored on Azure Storage Service.
I'm looking for a viewer to integrate with my application. Before showing these files, my application does some validations, to check if user can view the file, print or download. In some cases, when users request to view an OpenXML document (.docx), my application first modify the file before showing it to user.
My 1st choice was using the free viewer from Microsoft ( http://products.office.com/en-us/office-online/view-office-documents-online ), integrating it to my application through an iframe, but I cannot limit user access on the files - there's no parameters to disable printing or download.
My 2nd choice was converting these documents to PDF and using a PDF viewer, but convert these documents to PDF requires proprietary solutions (like Aspose) and Excel files don't have a good appearance when converted to PDF.
After eliminating the options above, I was thinking on a new VM with Office Web Parts and Sharepoint to do this. Is Office Web Apps a good alternative? Can I use Office 365 instead? Can I integrate with my application, limit user actions on the documents and view files out of OneDrive or Sharepoint database?
Please, let me know if you have any other solutions. Thank you.