# Encrypted database and secure storage

**URL:** <https://forum.ionicframework.com/t/encrypted-database-and-secure-storage/119793>\
**Category:** Ionic Native\
**Created:** [January 29, 2018, 4:52pm UTC](https://forum.ionicframework.com/t/encrypted-database-and-secure-storage/119793 "2018-01-29T16:52:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WideNick](https://avatars.discourse-cdn.com/v4/letter/w/ecae2f/32.png) [@WideNick](https://forum.ionicframework.com/u/WideNick)\
**Post date:** [January 29, 2018, 4:52pm UTC](https://forum.ionicframework.com/t/encrypted-database-and-secure-storage/119793/1 "2018-01-29T16:52:43Z")

</div>

Hello every body, i need for an app to encrypt the database, so i’ve found sqlcipher but with the new version, the window support is stopped.

So i must found and other solution.

For now, i think to use lokijs for generate some database base in NOSQL, but it’s not secure, so i would store it on the secure storage.

SO, i ve some question :

1. Have you got a way to secure data on a device (other than secure storage)
2. What it’s the size of secure storage ?
3. It’s possible with ionic to add a password protection to a json file for example? And in this case is ti a good pratice?

Thank a lot guy

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:52pm UTC](https://forum.ionicframework.com/t/encrypted-database-and-secure-storage/119793/2 "2021-07-19T21:52:54Z")

</div>

Closed on July 19, 2021, 9:52pm UTC


