KeyChain数据存储在哪里? [英] Where is the KeyChain data stored?

查看:546
本文介绍了KeyChain数据存储在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关iOS钥匙串的几点:

Several points about the keychain in iOS:

  1. 安全地保存用户名和密码;
  2. 如果多个应用共享相同的代码签名条款和捆绑种子ID,则可以共享数据

我的问题是:

  1. 钥匙串数据存储在哪里,肯定在应用程序沙箱外部,我们可以处理它们吗?
  2. iOS应用程序中钥匙串还有什么用途?

推荐答案

1)钥匙串存储在iOS定义位置的沙箱外部.这是为了防止越狱的设备访问它.通过文件系统不可见.钥匙串与Mac OS X相同,只是苹果公司认为没有必要让最终用户访问它.您只能通过已定义的API与它进行交互.我应该注意,即使使用越狱设备,似乎也无法实现阻止访问的目的.

1) The keychain is stored outside the sandbox in an iOS defined location. This is to prevent jailbroken devices from getting access to it. It is not visible through the filesystem. The keychain is the same as Mac OS X, except Apple felt that it wasn't necessary to give end users access to it. You cannot interact with it except through the defined APIs. I should note that it doesn't seem to be accomplishing the goal of preventing access even with jailbroken devices.

2)除了存储用户名和密码外,我真的不知道钥匙串的实际用法.

2) I don't really know about practical usage of the keychain outside of storing usernames and passwords.

这篇关于KeyChain数据存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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