IOS 中的钥匙串可以与 Windows 中的 DPAPI 进行比较吗?

发布于 2024-10-06 03:59:06 字数 246 浏览 0 评论 0原文

在 iOS 上,我正在寻找与 Windows 上可用的加密/解密 DPAPI 函数等效的 API(未设置 CRYPTPROTECT_LOCAL_MACHINE 标志)。

目的是在本地保留一些应用程序数据,并使其访问仅限于应用程序本身。

我已经阅读过有关钥匙串功能的信息,但该词典似乎具有用户级访问权限(在智能手机登录期间解锁)。我希望该应用程序是唯一有权访问该信息的应用程序,就像通​​常拥有自己的钥匙串一样。

对此有什么建议吗?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无需解释 2024-10-13 03:59:06

应用程序无法访问 iOS 中另一个应用程序的钥匙串条目。原则上,就好像每个应用程序都有自己的钥匙串。

在 iOS 中,应用程序始终可以访问自己的钥匙串项,但是
不是任何其他应用程序创建的项目。

http://开发人员。 apple.com/library/mac/#documentation/Security/Conceptual/keychainServConcepts/02concepts/concepts.html

但是,请参阅 这篇文章用于解决其他钥匙串安全问题。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文