我如何在固定的资产文件夹(加密(Ciphering))我的数据库SQLite的?我的、文件夹、资产、数据库

由网友(红颜多作孽ゝ)分享简介:我有逆向工程的经验和人服用数据库安静流畅的Andr​​oid系统的访问。我想知道有没有什么办法我只能密文我的数据库在创建的时候(不是混淆了整个APK),然后在运行时,我会用我的资料库。I have had experiences of Reverse engineering and people taking ac...

我有逆向工程的经验和人服用数据库安静流畅的Andr​​oid系统的访问。 我想知道有没有什么办法我只能密文我的数据库在创建的时候(不是混淆了整个APK),然后在运行时,我会用我的资料库。

I have had experiences of Reverse engineering and people taking access of your Database quiet fluently in android. I would like to know is there any way i can cipher my Database only(not obfuscating the whole apk) at the time of Creation and then during RunTime I would use My Data Base.

我在数据库知识较少,所以任何的建议是像一个福音来保护我的资产文件夹数据库。

I have lesser knowledge in Databases, so any suggestion would be like a boon to protect my DB in the Assets Folder.

推荐答案

当然,你可以做到这一点。使用 SQL密码。

Surely you can do it. Use SQL Cipher.

在使用,而不是使用常规 android.database.sqlite.SQLiteDatabase ,使用 info.guardianproject.database.sqlcipher.SQLiteDatabase 。欲了解更多信息,请查看这个问题。

While using, instead of using conventional android.database.sqlite.SQLiteDatabase, use info.guardianproject.database.sqlcipher.SQLiteDatabase. For more info, look this question.

阅读全文

相关推荐

最新文章