Android:Room:没有加密和安全? [英] Android: Room: no encryption and security?

查看:41
本文介绍了Android:Room:没有加密和安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我使用 OrmLite 而不是 SQLite 和 SQLCipher.真的没有办法保护Room数据库不被读取吗???

For now I'am using OrmLite over SQLite with SQLCipher. Is it really no way to protect Room database from being read???

推荐答案

默认情况下,Room 会将数据存储在任何 root 用户都可以访问的应用程序内部存储中.

Room by default store data in the app's internal storage which any root user can access.

如果您需要一些安全性,您需要使用像这样的加密库cwac-saferoom.

if you need some security you need to use encryption lib like this cwac-saferoom.

这篇关于Android:Room:没有加密和安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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