序列号和注册 [英] Serial Number and Registration

查看:95
本文介绍了序列号和注册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有一个小程序,我想给它一些限制。我从没想过让序列号如此困难或阻止人们在多个系统上安装可能是一项艰巨的任务。无论如何,基本上我的程序将完全访问互联网,并可以联系服务器来验证序列号。我只是不确定分配序列号,注册软件以及如何将其与特定系统硬件联系起来的标准程序,或者如何安全地验证序列号。


任何反馈都将不胜感激。

Hello Everyone,

I have a little program which I want to put some limitations on. I never thought having a serial number could be so hard or preventing people from installing on more than one system can be such a daunting task. Anyhow, basically my program will have full access to internet and can contact a server to verify the serial number. I am just not sure what the standard procedures are for assigning serial numbers, registering a software and how to tie it with a specific system hardware, or how to securely authenticate the serial number.

Any feedback will be appreciated.

推荐答案

我希望你意识到这种保护系统是无法绕过的。如果在代码中的某个地方,你有代码(如serial_from_user == serial_from_server)和类似的简单检查......
I hope you realize that this kind of a protection system is trivial to bypass. If somewhere in your code, you have code like (if serial_from_user == serial_from_server) and simplistic checks like that...


感谢您的回复。那么,您认为什么是更好的系统?此外,我正在考虑一些简单的事情,例如生成一个带有CPU ID和HDD序列号组合的数字,然后将其发布到某个网页。在下次安装时,系统将获取数据并针对硬件进行检查。如果不是C,哪种编程语言能更好地满足我的需求?我正在CentOS 5中部署porgrame。谢谢
Thanks for the reply. Well, what is a better system in your view? Also, I was thinking of something simple like generating a number with combination of CPU ID and HDD serial number and then posting it to some webpage. On the next install the system will fetch the data and check it against the hardware. What programming language would better answer my needs if not C? I am deploying the porgrame in CentOS 5. Thanks



嗯,你视图中哪个系统更好?
Well, what is a better system in your view?



我可能不是最好的问一个意见。无论如何,我会说我的:程序保护很容易被打破。所以你可能有一个简单的系统(你承认会根据需要被破坏),但主要是一个不会惹恼你的付费客户或客户的系统。


所以设计一个传输的系统网上的信息,或任何精心设计的信息都不是一个好主意。实现中的错误将使您的程序无法使用。即使它确实有效,让你的程序依赖联系第三方服务器进行身份验证也会让很多人感到震惊。

I?m probably not the best to ask for an opinion on this. I?ll say mine anyway: program protections are rather easily broken. So you might have a simplistic system (that you acknowledge will be broken as needed), but primarily, one that does not annoy your paying customers or clients.

So designing a system that transmits information over the net, or anything elaborate is not a good idea. Bugs in your implementation will render your program unusable. And even if it does work, having your program rely on contacting a third party server for authentication will tick off a lot of people.


另外,我正在考虑一些简单的事情,例如生成一个带有CPU ID和HDD序列号组合的数字,然后将其发布到某个网页。在下次安装时,系统将获取数据并针对硬件进行检查。
Also, I was thinking of something simple like generating a number with combination of CPU ID and HDD serial number and then posting it to some webpage. On the next install the system will fetch the data and check it against the hardware.



但最终,该检查将被绕过。你制作了所有这些精心设计的方案,但没有采取任何措施来防止绕过它们。看,要设计一个可以绕过的非平凡系统,你应该知道如何破解程序以及如何伪造身份验证。这就像设计一个反抢劫系统,却不知道你是如何被抢劫的。

But ultimately, that check will be bypassed. You make all these elaborate schemes, but do nothing to prevent bypassing them. Look, to design a non-trivial system to bypass, you should know how programs are cracked and how authentication is faked. It?s like designing an anti-robbery system, without an idea of how you are actually getting robbed.


什么编程语言能更好地满足我的需求如果不是C?
What programming language would better answer my needs if not C?



当然,您不认为切换语言会在这里解决问题吗?

Certainly, you don?t think switching languages will solve the issue here?


这篇关于序列号和注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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