简体   繁体   中英

Avoid other apps using the same framework to access the keychain data in iOS

I have a framework which stores data in Keychain. Is there a way what can I do to prevent access to that data from other apps in a device which has more apps using the same framework? And can they access it? I googled a lot but could not find a good answer to this question.

Thanks in advance!

That's the default situation. Each app has its own access group by default, and things put into Keychain are limited to that access group. The framework isn't relevant, only the app ID (and by extension the access group or groups).

For more on access groups, see Sharing Access to Keychain Items Among a Collection of Apps for how apps (from the same development team) can share Keychain items. But the default is that they don't.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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