Encryption Needed For PouchDB On Cordova App For Android
I am developing an hybrid application using Cordova. We have to cache some sensitive data and we picked PouchDB.
The business came to us and asked if any external application would be able to read the DB. I know that for sure IOS has encryption in the cip but Android doesn't have it as far as I know.
So the question is: should I encrypt the database using a PouchDB plugin for encryption or it is not needed?
Thank you for your answer.
Answer
No, in a normal environment, apps are sandboxed and no other app has access to the local storage/db of your app.
Edit: As noted by Alex, if the device is rooted then it can be accessed. So, yes if your are using sensitive data, you should encrypt.
You can always check if the device has been rooted as well.
Alternatively, you can use MongOGX which now supports encryption
Related Questions
- → should I choose reactjs+f7 or f7+vue.js?
- → Phonegap Android write to sd card
- → Local reference jquery script in nanohttpd (Android)
- → Click to navigate on mobile devices
- → How to allow api access to android or ios app only(laravel)?
- → Access the Camera and CameraRoll on Android using React Native?
- → React native change listening port
- → What is the default unit of style in React Native?
- → Google play market autocomplete icon
- → Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `ListView`
- → Using Laravel with Genymotion
- → react native using like web-based ajax function
- → react native pdf View