防止盗版Android应用 [英] Protect android application from piracy

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

问题描述

我创造的Andr​​oid的应用程序。我想,一旦我的应用程序安装在一台设备上,用户不应该能够复制.apk文件和在其他设备上运行它。请帮助我。提前致谢。 :)

I am creating an application in Android. I want that once my application is installed on one device, user should not be able to copy the ".apk" and run it on other device. Please help me out. Thanks in advance. :)

推荐答案

我将要给出的答案是不是你想要听到的,但请仔细阅读,因为我将证明这个答案,并给你一个另类的答案模型,你也许可以在应用程序中使用。

The answer I'm about to give is not the answer you want to hear, but please read through, as I will justify this answer and give you an alternative model you might be able to use in your application.

在一般情况下,你不应该寻找那些将在保护应用程序免受盗版绝对成功的一个方法。一个确定的海盗将,在某些时候,能够去除保护和分发修改后的应用程序,如果有足够的兴趣吧。

In general, you should not look for a single method that will be absolutely successful in protecting your application from being pirated. A determined pirate will, at some point, be able to remove the protection, and distribute the modified application if there's enough interest in it.

即使像苹果iPhone相对封闭的设备有盗版问题,监狱破碎设备,以及坚定的攻击者会在某些时候,可以打开你的应用程序。我给你作为保护软件的难度又一个例子:微软的Windows。如果微软和苹果,他们所有的资源和专业知识都无法来解决这个问题的有效方法,你还真以为你就可以?

Even relatively closed devices like the Apple iPhone have piracy problems with jail broken devices, and a determined attacker will, at some point, be able to open your app. I give you as a further example of the difficulty of protecting software: Microsoft Windows. If Microsoft and Apple, with all of their resources and expertise are unable to solve this problem in an effective manner, do you really think you'll be able to?

相反,我会鼓励你计划你正在使用依赖于你控制的服务器软件功能这样的方式您的应用程序。这样一来,你拿的钥匙王国。当人们进行购买,要求他们登录/密码是关系到服务器。

Instead, I would encourage you to program your app in such a way that you're using software features that rely on servers you control. That way, you're holding the keys to the kingdom. When people make a purchase, ask them for a login/password that ties them to the server.

例如,如果你正在编写一个游戏,让游戏界的一个很好的部分功能为主,在这里你通过服务器的其他玩家,你,作为开发/分销商,控制。

For example, if you're programming a game, make a good portion of the game community features based, where you interact with other players through servers which you, as the developer/distributor, control.

该模型的一个稍微修改允许用户访问免费的应用程序,但在有限的功能数量,然后获得完整的功能,他们购买的时候。有鉴于此,盗版不再是一个问题,而事实上,甚至于无心盗版你的应用程序消失。最后,基于服务模式这样可能比妄图以保护窥探你的应用程序依赖于某些技术上巫术一个更好的解决方案。

A slight modification of this model allows the customer to access the application for free, but with a limited amount of functionality, then gain full functionality when they purchase. In that light, piracy ceases to be a problem, and indeed, even the motivation to pirate your app vanishes. In the end, a service based model like this is probably a better solution than relying on some technically wizardry in a vain attempt to protect your app from prying eyes.

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

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