Android上是否有与iOS的钥匙串等效的用户凭证? [英] Is there an equivalent to iOS's Keychain for user credentials on Android?

查看:148
本文介绍了Android上是否有与iOS的钥匙串等效的用户凭证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android上有与iOS的钥匙串等效的东西吗?

Is there an equivalent to iOS's Keychain on Android?

我对 Preferences API 的理解是,该API未加密.对于我的应用程序而言,这些凭据是否可以在设备之间持久(即与 Android中类似iPhone的钥匙串?)

My understanding of the Preferences API is that it is not encrypted. For my application it doesn't matter whether these credentials are persisted across devices (i.e. a different use-case to iPhone-like Keychain in Android?)

我还查看了 KeyStore API ,但这似乎将用户凭据的实际存储留给了应用程序开发人员.

I also looked at the KeyStore API but it seems to leave the actual storage of user credentials up to the application developer.

推荐答案

简短答案,没有答案.但是您可以期望文件系统是安全的.

Short answer, there isn't one. But you can expect the filesystem to be secure.

每个应用程序都在不同的用户下运行,并且用于存储应用程序数据的文件系统受常规UNIX用户权限的保护.因此,默认情况下,每个应用程序的文件访问权限都已沙箱化.文件系统也可以被加密.

Each app operates under a different user, and the filesystem used to store app data is secured by normal UNIX user permissions. So each app's file access is sandboxed by default. The filesystem also may be encrypted.

开发者网站上的此页面对其进行了更好的解释: http://developer. android.com/guide/topics/security/security.html

This page from the developer's site explains it better: http://developer.android.com/guide/topics/security/security.html

这篇关于Android上是否有与iOS的钥匙串等效的用户凭证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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