Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

Ionic - encrypt & decrypt MS office documents

$
0
0

@ank5 wrote:

I am working on an Ionic app which will pull MS Office (Word, Excel and Powerpoint) files from the node server and save them on the device (iPad). We have requirement to have the files encrypted on the device as soon as they are downloaded from node server. When user selects the file from within the app, the file is launched in the native software (like MS Word for .docx files) and user can view/edit the file and save it back again in the encrypted format.

I was exploring some Javascript libraries like crypto-js which could allow encrypting the files. So, we should be good to download the file and encrypt the file using crypto-js. Then when user selects the file, it can be decrypted again using Crypto-js and launched in the native app. However, the challenge that I have not been able to figure out is that how to save the edited document in encrypted format. When the file is opened in native app, user can edit the file but when he tries to save it, how can we encrypt it back as it is not under the control of Ionic anymore.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>