简体   繁体   English

为iOS / Android应用存储敏感数据的最佳方法是什么?

[英]What's the best way to store sensitive data for iOS/Android apps?

I have some data to be stored with my iOS/Android app. 我有一些要存储在我的i​​OS / Android应用程序中的数据。

The data exists as files. 数据作为文件存在。

Are these files visible to users? 这些文件对用户可见吗?

They can just browse the file directory & copy my files to their local drives? 他们只是可以浏览文件目录并将我的文件复制到本地驱动器?

If I have sensitive data to be stored with my app, what would you advise? 如果我有要与我的应用程序一起存储的敏感数据,您有何建议? Store the data with encryption? 用加密存储数据?

For iOS you should store sensitive data in keychain. 对于iOS,您应该将敏感数据存储在钥匙串中。 Apple docs provide a detailed description regarding keychain storage. Apple文档提供了有关钥匙串存储的详细说明。 You can check the below link. 您可以检查以下链接。

https://developer.apple.com/library/ios/documentation/Security/Conceptual/keychainServConcepts/iPhoneTasks/iPhoneTasks.html https://developer.apple.com/library/ios/documentation/Security/Conceptual/keychainServConcepts/iPhoneTasks/iPhoneTasks.html

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

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