减少 iPhone 应用程序的盗版 [英] Reducing piracy of iPhone applications

查看:36
本文介绍了减少 iPhone 应用程序的盗版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在不违反 Apple 评估流程的情况下,有哪些公认的方法可以减少 iPhone 应用程序盗版?

What are accepted methods to reduce iPhone application piracy, which do not violate Apple's evaluation process?

如果我的应用程序打电话回家"以提供运行它的唯一设备 ID,我还需要收集哪些其他信息(例如,用于购买应用程序的 Apple ID)来创建授权使用的有效注册令牌的应用程序?同样,我将使用什么代码来访问这些额外数据?

If my application "phones home" to provide the unique device ID on which it runs, what other information would I need to collect (e.g., the Apple ID used to purchase the application) to create a valid registration token that authorizes use of the application? Likewise, what code would I use to access that extra data?

目前看来,解决这个问题的最佳技术方法是什么?

What seem to be the best available technical approaches to this problem, at the present time?

(请避免使用非编程答案关于盗版是如何不可避免的等等.我知道盗版是不可避免的.我对基于编程的答案很感兴趣讨论如何减少它.提前感谢您的理解.)

(Please refrain from non-programming answers about how piracy is inevitable, etc. I know piracy is inevitable. I am interested in programming-based answers that discuss how to reduce it. Thanks in advance for your understanding.)

推荐答案

UPDATE

访问和阅读

感谢评论中的 chpwn.

Thanks to chpwn in the comments.

目前有一种更简单的方法可以检测您的 iPhone 应用程序是否已被破解以供盗版使用.这不涉及您根据接受的 ID 列表检查 iPhone 的唯一 ID.

For now there's an easier way to detect if your iPhone application has been cracked for piracy use. This does not involve you to check the iPhone unique IDs against a list of accepted IDs.

目前破解者可以做三件事:

Currently there are three things crackers do:

  1. 编辑 Info.plist 文件
  2. 将 Info.plist 从二进制解码为UTF-8 或 ASCII
  3. 向 Info.plist{SignerIdentity,Apple iPhone OS 应用程序签名}

最后一个最容易用这个代码检查:

The last one is easiest to check with this code:

NSBundle *bundle = [NSBundle mainBundle]; 
NSDictionary *info = [bundle infoDictionary]; 
if ([info objectForKey: @"SignerIdentity"] != nil) 
{ /* do something */  }

通常,我们在构建的任何 App Store 应用程序中都没有 SignerIdentity,因此检查 nil 然后执行设置指令应该会让破解者和盗版者更难.

Generally we don't have SignerIdentity in any of the App Store applications we build so checking for nil then performing set instructions should make it more difficult for crackers and pirates.

我不能相信这一点,所以请访问 如何阻止 iPhone IPA Crackers. 有大量关于 iPhone 盗版以及如何遏制盗版的信息.

I can't take credit for this so please visit How to Thwart iPhone IPA Crackers. There's loads of information there about piracy on iPhone and how to curb it.

这篇关于减少 iPhone 应用程序的盗版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆