开发者

Can keychains in IOS be compared to DPAPI in Windows?

开发者 https://www.devze.com 2023-01-28 04:34 出处:网络
On iOS, I am looking for an API equivalent to the encrypt/decrpyt DPAPI functions available on Windows (with CRYPTPROTECT_LOCAL_MACHINE flag not set).

On iOS, I am looking for an API equivalent to the encrypt/decrpyt DPAPI functions available on Windows (with CRYPTPROTECT_LOCAL_MACHINE flag not set).

The objective is to persist some application data locally and making its ac开发者_Go百科cess restricted to the application itself only.

I've read about the keychain functionality but it seems that the dictionary has user-level access (unlocked during smartphone logon). I would like the application to be the only one who has access to that information, like, typically, having its own keychain.

Any advice on this?


An app cannot access another app's keychain entries in iOS. In principle, it's as if each app has its own keychain.

In iOS, an application can always access its own keychain items, but not items created by any other application.

http://developer.apple.com/library/mac/#documentation/Security/Conceptual/keychainServConcepts/02concepts/concepts.html

However, see this post for other keychain security concerns.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号