简体   繁体   English

OS X,钥匙串。 存储只能由我的应用程序更改的数据,而不能由用户或其他应用程序更改

[英]OS X, keychain. store data that can be only changed by my app, not by user, or other app

On iOS we use keychain to store information about in app purchases. 在iOS上,我们使用钥匙串来存储有关应用内购买的信息。 (so user cannot change them ). (因此用户无法更改它们)。
We now port our app to Mac (publish it in Mac App Store). 现在,我们将应用程序移植到Mac(在Mac App Store中发布)。
Can we use Mac keychain to store in app purchases? 我们可以使用Mac钥匙串存储应用购买的商品吗?
Can we protect keychain data in some way? 我们可以通过某种方式保护钥匙串数据吗?
We want that only our app can change values in keychain, not other apps or user. 我们希望只有我们的应用可以更改钥匙串中的值,而其他应用或用户则不能。

other apps cant access the keychain without asking the user 其他应用无法在不询问用户的情况下访问钥匙串

the user can always change the data - on ios and osx both 用户可以随时更改数据-在ios和osx上都可以

except that on osx it is REALLY easy and on ios it isnt ;) 除了在osx上这确实很容易,在ios上不是;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我存储的钥匙串数据是否仅限于我的应用程序? - Is keychain data that I store restricted to my app? 在将数据上传到应用商店之前,先将其添加到应用钥匙串 - Pre add data to app keychain before uploading to the app store iOS / Windows Store应用程序:我可以知道我的其他应用程序是否已安装在此设备/用户帐户上吗? - iOS / Windows Store App: can I know whether my other app installed on this device/user account? 仅在应用商店中向某些选定用户显示我的应用 - Show my app on app store to some selected user only App Store导出合规性 - 这是否包括存储在钥匙串中的数据? - App Store Export Compliance - does this include data stored in keychain? 如何存储用户输入的数据,以便可以将其显示给应用程序的其他用户? - How do I store user-inputed data so that it can be displayed to other users of an app? Keychain2Go如何在iPhone上获取其他应用的钥匙串数据? - How Keychain2Go get other app's keychain data on iphone? iOS用户如何在卸载应用程序后删除钥匙串 - How can a iOS user remove keychain after uninstalling app 应用程序在将数据保存到钥匙串时崩溃 - App crashes on saving data in keychain 应用商店提交成功但钥匙串警告丢失 - app store submit success but loss of keychain warning
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM