can a user remove a keychain item from his iOS device?

妖精的绣舞 提交于 2019-12-11 02:29:16

问题


I know that keychain items can be removed by the app which added it. But they will remain in the device if even if he uninstall the app. Can a user remove any unwanted keychain item?


回答1:


No. Keychain items are in iOS sandbox, users don't have access to remove unwanted keychain item. These are accessible via API's only.

As iOS provides API's to access keychain items from sandbox, applications can use these API's to access keychain items. But an application can access only its own keychain items as per https://developer.apple.com/library/ios/documentation/security/conceptual/keychainServConcepts/02concepts/concepts.html

So they are secure enough if they still remain on the user's device when the app is uninstalled.




回答2:


You can't remove a keychain item from iOS device.The keychain is shared between applications, so another app could be using the same credentials. You should just leave the info alone when your app is removed. The keychain will persist even after the app is removed. I am almost positive that the keychain isn't cleared unless you explicitly delete an item in it.



来源:https://stackoverflow.com/questions/19509925/can-a-user-remove-a-keychain-item-from-his-ios-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!