[英]How do I store information securely on android device?
I want to store information on an android device. 我想在Android设备上存储信息。 What is the best way to store data so that the user is not able to access (write/read) the files.
什么是存储数据的最佳方法,以使用户无法访问(写入/读取)文件。
I've looked at Shared preferences and SQLite Database , these seem like they might be viable options. 我看过共享首选项和SQLite数据库,这些似乎是可行的选择。
Thanks Fabii 谢谢Fabii
There's no best way to store secure data as a user with rooted phone will always have access to your data. 没有最好的方法来存储安全数据,因为拥有根电话的用户将始终可以访问您的数据。 So the best bet would be to do some kind of Encryption on your secret data to make it useless even if its accessed by others.
因此,最好的办法是对您的秘密数据进行某种加密 ,以使其即使其他人也无法使用也无法使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.