有没有办法识别购买应用程序的帐户?

发布于 2024-11-07 03:48:23 字数 266 浏览 0 评论 0原文

我想使用应用内购买将内容下载到应用程序。为了防止内容被“窃取”,我想给每个用户一个加密的下载链接,该链接只能在当前设备上解密。存储加密链接的文件应在同一用户的其他设备上同步,因此使用 UUID 进行加密/解密将不起作用。

是否有一些信息(帐户 ID、哈希值等)可供我的应用程序在所有用户设备上查询,并且在使用相同 itunes 帐户购买应用程序的设备上调用时会给出相同的结果?

如果不是,解决原始问题的适当方法是什么?我想防止有人从一台设备获取下载链接并在另一台设备上使用它而无需付费。

I want to use In-App-Purchase to download contents to an app. To prevent the content from being "stolen", I want to give every user an encrypted download-link, which only can be decrypted on the current device. The file(s) where the encrypted links are stored should be synchronized on other devices of the same user, so using the UUID for encryption/decryption won't work.

Is there some information (account-id, hash, whatever), that my app can query on all of the users devices and that gives the same result when called on devices that bought the app with the same itunes account?

If not, what would be the appropriate way to solve the original problem? I want to prevent somebody getting the download-link from one device and using it on another device without having to pay for it.

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

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

发布评论

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

评论(2

不疑不惑不回忆 2024-11-14 03:48:23

我相信 Store Kit 框架会为您解决这个问题。除非我误解了你的问题。我不确定如果您的内容只能在您的应用确认付款已获得授权后才能由您的应用下载,那么您的内容如何会被盗。

来自 iOS 开发者指南

您在您的
使用 Store Kit 的 iOS 应用程序
框架。商店套件连接到
App Store 代表您的应用程序
安全地处理来自
用户。 Store Kit 提示用户
授权付款,然后通知
您的应用程序,以便它可以
提供用户购买的物品。

I believe that the Store Kit framework will take care of this for you. Unless I misunderstand your question. I'm not sure how your content could be stolen if it can only be downloaded by your app after your app confirms that payment has been authorized.

From the iOS Developer Guide:

You implement In App Purchase in your
iOS application using the Store Kit
framework. Store Kit connects to the
App Store on your application's behalf
to securely process payments from the
user. Store Kit prompts the user to
authorize the payment, then notifies
your application so that it can
provide items the user purchased.

吾性傲以野 2024-11-14 03:48:23

完成您想要做的事情的更好方法是将 IAP 收据发送到服务器,并在收据验证时让它响应内容。请参阅验证商店收据

A better way to accomplish what you are trying to do is to send the IAP receipt to the server and have it respond with the content if the receipt validates. See Verifying Store Receipts.

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