Android的如何使用SqlCipher与pre-捆绑Sqllite数据库? [英] Android How to use SqlCipher with pre-bundled Sqllite Database?

查看:181
本文介绍了Android的如何使用SqlCipher与pre-捆绑Sqllite数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创造了prebundle数据库的应用程序,我使用本教程来达到同样的,

http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

现在我应该如何保护这个prebundle分贝使用SQLcipher?作为sqlcipher教程假设你正在创建一个新的数据库,而不是使用exsisting之一。

我的目标是prevent任何人看到我的prebundle分贝的内容。

这问题有一定的技术,但它不工作的人

<一个href=\"http://stackoverflow.com/questions/13443093/using-sqlcipher-to-encrypt-already-existing-database-and-opening-it-on-android\">using sqlcipher加密现有数据库,并打开它在Android

谢谢
Pranay


解决方案

  

我的目标是prevent任何人看到我的prebundle分贝的内容。


然后不要打扰。任何人都可以抓住你的加密密钥您的APK和解密数据库。 SQLCipher是帮助的用户的保卫的用户的防范攻击的数据。

如果您不希望用户访问数据时,不要把自己的设备上的数据。

I am creating an app with a prebundle database, i am using this tutorial to achieve the same,

http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/

Now how should i secure this prebundle db using SQLcipher? As in sqlcipher tutorials it assumes that you are creating a new database instead of using an exsisting one.

My aim is to prevent anyone seeing the content of my prebundle db.

This question has some techniques but it is not working for the guy

using sqlcipher to encrypt already existing database and opening it on android

Thanks Pranay

解决方案

My aim is to prevent anyone seeing the content of my prebundle db.

Then do not bother. Anyone can grab your encryption key out of your APK and decrypt the database. SQLCipher is to help the user defend the user's data against attackers.

If you do not want the user to have access to the data, do not put the data on their device.

这篇关于Android的如何使用SqlCipher与pre-捆绑Sqllite数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆