iOS:Keychain是如何保持应用隔离的?
iOS: How does Keychain maintain application isolation?
我知道每个应用程序都有自己的钥匙串,任何其他应用程序都无法访问。 iOS 如何启用此 "privacy"?
查看 KeychainAccess 中的示例:
let keychain = Keychain(service: "com.example.github-token")
keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef"
究竟什么会阻止另一个应用运行使用相同的代码并访问您的kishikawakatsumi
数据?
来自 Apple 的 Keychain Services 文档。
Note: On iPhone, Keychain rights depend on the provisioning profile
used to sign your application. Be sure to consistently use the same
provisioning profile across different versions of your application.
钥匙串访问控制
iOS: iOS gives an application access to only its own keychain items.
The keychain access controls discussed in this section do not apply to
iOS.
我知道每个应用程序都有自己的钥匙串,任何其他应用程序都无法访问。 iOS 如何启用此 "privacy"?
查看 KeychainAccess 中的示例:
let keychain = Keychain(service: "com.example.github-token")
keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef"
究竟什么会阻止另一个应用运行使用相同的代码并访问您的kishikawakatsumi
数据?
来自 Apple 的 Keychain Services 文档。
Note: On iPhone, Keychain rights depend on the provisioning profile used to sign your application. Be sure to consistently use the same provisioning profile across different versions of your application.
钥匙串访问控制
iOS: iOS gives an application access to only its own keychain items. The keychain access controls discussed in this section do not apply to iOS.