注册表项导出预防 [英] Registry key export prevention

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

问题描述

大家好,

我制作了一款需要许可证密钥才能安装的软件,一旦获得许可证密钥,密钥就会被加密并存储在注册表中.

现在的问题是人们变得非常聪明,他们只是做一件事,即他们只是导出注册表项,然后在另一台PC上运行它,因此我的软件不需要许可证密钥.
现在我想做的就是只要在软件注册表项上单击鼠标右键就禁用导出上下文菜单,因为我无法更改大量代码,而我只想编写一小段代码即可这对我有利.

如果可能的话,如果上下文菜单在所有注册表项上都被禁用,我会这样做.
我希望用C#完成此操作,请帮助我使之成为可能..

预先感谢,
问候,
Krunal Panchal

Hello everyone,

I have made one software which requires license key for installation, once you have got a license key the key gets encrypted and get stored in Registry.

Now the problem is people have become very smart and they just do one thing i.e. they just export registry key and run it on another pc so that no license key is required for my software..

Now what i want to do is i just want to DISABLE export context menu whenever right click is done on my software registry key, as i can not change a huge piece of code and i just want to write a small piece of code which could do this favor to me..

If possible i would do with if context menu is disable on all registry keys..

I want this thing to be done in c#, please help me in making this possible..

Thanks in advance,
Regards,
Krunal Panchal

推荐答案

您不能,不是真的.您无法保护注册表项免受所有编辑或读取的侵害-如果没有其他要求,您的软件必须能够读取该密钥才能对其进行检查,因此任何软件都可以做到这一点-如您所见, tyo编写软件来读取注册表项并不难!您唯一可以做的就是将许可证密钥与特定硬件绑定在一起(这可能会惹恼合法用户)或在线检查密钥.
You can''t, not really. You can''t protect a registry key against all editing, or reading - if nothing else, your software has to be able to read the key in order to check it, so any software can do the same - as as you have seen, it isn''t difficult tyo write software to read a registry key! The only thing you can do is ties the license key to the specific hardware (which can really annoy legitimate users) or check the key online.


没有办法.取而代之的是,您可以使用更严格的许可证检查,例如机器/硬件锁定.
There is no way to do this. Instead of this, you can use more rigid license checks like machine/hardware-locking.


这篇关于注册表项导出预防的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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