应用程序在哪里存储“我被停用"?在Windows上? [英] Where does an application store "I'm deactivated" on Windows?

查看:115
本文介绍了应用程序在哪里存储“我被停用"?在Windows上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序通常具有注册密钥. 可以将其放置在文件或注册表中. 有时,通过输入另一个密钥来停用应用程序, 或日期的过去等.在哪里可以安全地 存储有关停用应用程序的此类信息? 文件不是答案.备份副本可以还原到 打败这个.注册表是一个很差的答案,仅因为 大多数人不知道它在那里,也不想恢复它, 如果他们这样做,他们会恢复整个事情,通常 还有其他令人沮丧的副作用.

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 safely store such information about an application be deactivated? A file isn't the answer; a backup copy can be restored to defeat this. The registry is a weak answer, only because most people don't know its there, and don't think to restore it, and if they do they restore the whole thing which usually has other discouraging side effects.

在我看来,存储停用信息是 绝望的是不安全的,因为始终可以恢复旧副本. 充其量可以通过混淆来隐藏此数据 加密命名的文件或注册表项.

It seems to me that storing deactivation information is hopelessly unsafe, as old copies can always be restored. At best one can hide this data by obfuscation under cryptically named files or registry keys.

是否存在我不知道的标准技巧或标准 Windows支持的方案是否可以解决此问题?

Is there a standard trick I don't know, or a standard scheme supported by Windows, that helps with this problem?

回合2:我已经看到了很多答案.没有一个 具体说你不能这样做",但有几个暗示 打电话回家是唯一的好选择(用于停用").

Round 2: I've seen a number of answers. None of them specifically say "you can't do this" but several imply that 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 do typical 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上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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