问题描述
应用程序通常具有注册密钥.可以将其放置在文件或注册表中.有时,通过输入另一个密钥来停用应用程序,或日期的过去等.在哪里可以安全地存储有关停用应用程序的此类信息?文件不是答案.备份副本可以还原到打败这个.注册表是一个很差的答案,仅因为大多数人不知道它在那里,也不想恢复它,如果他们这样做,他们会恢复整个事情,通常还有其他令人沮丧的副作用.
Applications often have registration keys.It can arguably be placed in a file or in the registry.Sometimes, an application is deactivated by entry of another key,or the passing of a date, etc. Where can one safelystore such information about an application be deactivated?A file isn't the answer; a backup copy can be restored todefeat this. The registry is a weak answer, only becausemost people don't know its there, and don't think to restore it,and if they do they restore the whole thing which usuallyhas other discouraging side effects.
在我看来,存储停用信息是绝望的是不安全的,因为始终可以恢复旧副本.充其量可以通过混淆来隐藏此数据加密命名的文件或注册表项.
It seems to me that storing deactivation information ishopelessly unsafe, as old copies can always be restored.At best one can hide this data by obfuscation undercryptically named files or registry keys.
是否存在我不知道的标准技巧或标准Windows支持的方案是否可以解决此问题?
Is there a standard trick I don't know, or a standardscheme supported by Windows, that helps with this problem?
回合2:我已经看到了很多答案.没有一个具体说你不能这样做",但有几个暗示打电话回家是唯一的好选择(用于停用").
Round 2: I've seen a number of answers. None of themspecifically say "you can't do this" but several implythat phoning home is the only good choice (for "deactivation").
让我们假设打电话回家和加密狗不是答案,而且必须在机器上留下一些东西.做什么在这种情况下,典型的许可计划实际上是做什么的?
Let's assume phoning home and dongles are NOT the answer,and one has to leave something on the machine. What dotypical licensing schemes actually do in this case?
推荐答案
在服务器上创建并签名许可证文件.如果您使用公共密钥密码术,则许可证文件不会轻易被伪造.您的应用程序当然可以被破解为不需要许可证,但这是另一回事.
Create and sign a license file on a server. If you use public key cryptography, the license file can't be faked easily. Your application can be of course cracked to not need the license, but that's a different thing.
这篇关于应用程序在哪里存储“我被停用"?在Windows上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!