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 access 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?

Answers


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.


Need Your Help

How to get a shortcut string from TShortCut in an action?

delphi keyboard-shortcuts tactionmanager

I'm using a TActionManager, where each action has a keyboard ShortCut assigned to it. I would like to display text which represents the keyboard shortcut to the user. For example, F4 or Ctrl+F or

How to call grep on pattern files?

regex linux bash grep sh

I'm trying to grep over files which have names matching regexp. But following:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.