简体   繁体   English

代号一-存储敏感数据

[英]Codename One - Storing sensitive data

Saying sensitive data i mean: 敏感数据是指:

  • Certificates 证明书
  • Passwors 密码
  • other private secrets 其他私人秘密

Question 1 . 问题1 Is there any way for third-party applications to access this information, stored using Storage class? 第三方应用程序是否可以通过Storage类访问此信息?

Question 2 . 问题2 I suppose using FileSystemStorage is not safe at all. 我想使用FileSystemStorage 根本不安全 Is it right? 这样对吗?

Question 3 . 问题3 What is the safest way to store sensitive data in Codename One ? Codename One中存储敏感数据的最安全方法是什么?

Codename offers an encryption for your sensitive data with the introduction of EncrytedStorage . 通过引入EncrytedStorage,代号为您的敏感数据提供了加密。 Although, it requires you to install BouncyCastle cn1lib for it to work. 虽然,它需要您安装BouncyCastle cn1lib才能运行。 You can find this lib under CodenameOne Extensions when you right-click on your project and go to CodenameOne Settings. 右键单击项目并转到CodenameOne设置,即可在CodenameOne扩展下找到此库

FileSystemStorage is safe but not totally secure and yes, could be accessed by another App if the app knows your App's Storage path which is usually possible on rooted android devices. FileSystemStorage是安全的,但也不是完全安全的,是的,如果该应用程序知道您的应用程序的存储路径(通常可以在有根的android设备上使用),则可以由另一个应用程序访问。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM