开发者

Can keychains in IOS be compared to DPAPI in Windows?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜