保护和在机器人安全本地用户数据(即使设备植根) [英] Protect and secure the local user data in android (even if the device is rooted)

查看:122
本文介绍了保护和在机器人安全本地用户数据(即使设备植根)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在Web消息应用工作,我存储数据库和共享preferences某些用户数据的聊天记录。

I currently work on a web message application , and I am storing the chat log on the database and some user data on share preferences.

问题是,我不知道是否有什么办法可以使数据无法访问/当我在文件浏览器中打开它们无法读取?或者,我怎么能对数据implment更高的防护措施?我已经寻找一些方法,但不知何故不适合用于Web消息应用程序。

The problem is, I wonder are there any way to make the data not accessible/ not readable when I open them in file explorer? Or how can I implment higher protection measures on the data ? I have searched for some approach but it somehow does not fit for the web messaging application.

例如:


  1. 在服务器上存储数据。如果数据是聊天日志则存在着巨大的数据集和网络流量到服务器是非常高的

  1. Store data on server. If the data is chat log then there is a huge set of data and the network traffic to the server is very high

加密。如果我使用SHA要不encryt的数据,无法阅读

Encryption. If I use the SHA or else to encryt the data , it is not possible to read them

感谢您的帮助。

推荐答案

您可能可以使用单程RSA加密,存储密钥解密服务器上的内容(当需要时)和单向加密密钥可以是对设备。独自阅读的关键不应该在服务器上创建大量负载。

You probably could use one way RSA encryption, storing a key to decrypt the content (when required) on the server and the one way encryption key can be on the device. Reading the key alone should not create a lot of load on the server.

的关键将是在解密时的设备存储器而在那里拦截可能已经很复杂。

The key will be in the device memory at the time of decryption but intercepting in there may already be complex.

这篇关于保护和在机器人安全本地用户数据(即使设备植根)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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