代码制作试用版软件版本 [英] Code To Make Trial Version Software Release

查看:65
本文介绍了代码制作试用版软件版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我需要修改一个用C,C ++和

Visual C ++编写的现有应用程序,以便可以发布应用程序作为限时试用

版本,修改必须防止应用程序在试用期结束后在同一台计算机上重新安装




有没有人知道我可以直接使用或修改的任何C / C ++代码

这样做?


提前谢谢,




Hi,

I need to modify an existing application that''s written in C, C++ and
Visual C++ so the application can be released as a time limited trial
version, also the modifications must prevent the application from being
reinstalled on the same computer after the trial period has timed out.

Does anyone know of any C/C++ code that I could use directly or modified
to do this?

Thanks in advance,

Ken

推荐答案

" Ken" <柯********* @ yahoo.com>在消息中写道

news:41 ************** @ yahoo.com ...
"Ken" <ke*********@yahoo.com> wrote in message
news:41**************@yahoo.com...

<我需要修改一个用C,C ++和Visual C ++编写的现有应用程序,这样应用程序就可以作为限时版本发布
版本,修改也必须阻止应用程序在试用期结束后,在同一台计算机上重新安装。

有谁知道我可以直接使用或修改的任何C / C ++代码
来执行此操作?
Hi,

I need to modify an existing application that''s written in C, C++ and
Visual C++ so the application can be released as a time limited trial
version, also the modifications must prevent the application from being
reinstalled on the same computer after the trial period has timed out.

Does anyone know of any C/C++ code that I could use directly or modified
to do this?




这是徒劳的......如果你的申请没用,那不是问题,如果它变得很受欢迎,您的小时间陷阱将被黑客攻击并且不受限制

版本将在p2p网络上弹出。


更有趣的方法是让您的应用程序需要Internet

访问,每次使用
时从服务器检索变量但必要的变量。通过这种方式,您将获得有关谁在何时使用的有用信息,

并且您将完全控制谁将停止以及为谁免费提供
。着名的病毒检查员经常这样做,更不用说蹩脚的操作系统了。


-

Chqrlie。



This is so vain... If your application is not useful, it is not an issue, if it
becomes popular, your little timetrap will be hacked away and unrestricted
versions will pop up on p2p networks anyway.

A much more interesting approach is to make your application require Internet
access, retrieve something variable but necessary from your server every time it
is used. This way, you will have useful information about who is using when,
and you will be in total control about whom to stop and whom to give a free
ride. Famous virus checkers do this constantly, not to mention lame OS''s.

--
Chqrlie.


这听起来并不复杂。必须有公开的

库才能做到这一点。 GNU,Sourceforge等?


这是一种方式。您的应用程序会从您的应用程序安装的文本文件

中读取到期日期。除了文件内容是加密的。

文件内容是由一个程序生成的,它提供了一个包含截止日期的密钥(也是加密的)。

无需重新编译二进制文件或编辑(黑客)任何带日期的二进制文件。

This doesn''t sound too complicated. There must be publicly available
libraries to do this. GNU, Sourceforge, etc?

Here''s a way. You app reads an expiration date from a text file
installed with your app. Except the file contents are encrypted.
And the file contents are generated by a program which is
supplied a key (also encrytped) that contains the expiration date.
No need to recompile binaries or edit (hack) any binaries with a date.


>这听起来并不太复杂。必须有公开的
>This doesn''t sound too complicated. There must be publicly available
库来执行此操作。 GNU,Sourceforge等?


这个的GPL版本(如果存在)要求你将* UN $ CRYPTED *源代码分发给你的应用程序。限时

开源代码:有趣的概念。


我想我已经看到它在作者想要之前实际使用了

beta版本将在更稳定的版本发布之后死亡,并且希望发布旧版本的bug报告。

主要是那些人懒得升级也懒得

编辑并从源代码重新编译以消除限制,升级

可能更容易。

这是一种方式。您的应用程序会从随应用程序安装的文本文件中读取到期日期。除了文件内容是加密的。
文件内容由一个程序生成,该程序提供了一个包含截止日期的密钥(也是加密的)。
无需重新编译二进制文件或编辑(黑客)任何有日期的二进制文件。
libraries to do this. GNU, Sourceforge, etc?
The GPL version of this, if it exists, requires you to distrubute
the *UNENCRYPTED* source code to your application. Time-limited
open-source code: interesting concept.

I think I''ve seen it actually used before where the author wanted
beta versions to die after the more stable version was expected to
be released, and wanted the bug reports on old versions to stop.
Mostly the people who are too lazy to upgrade are also too lazy to
edit and recompile from source to remove the limit, and upgrading
is likely easier.
Here''s a way. You app reads an expiration date from a text file
installed with your app. Except the file contents are encrypted.
And the file contents are generated by a program which is
supplied a key (also encrytped) that contains the expiration date.
No need to recompile binaries or edit (hack) any binaries with a date.




这里的问题是,如果PROGRAM可以解密文件,那么可以使用某人b $ b一个调试器。与此相反的是公钥加密:

过期日期由作者的公钥签名。

任何人都可以解密文件或验证签名;只有作者

可以制作一个具有不同截止日期的新作品。计数器

对于用你知道相关私钥的程序替换程序中作者的公钥

。只是绕过检查代码的问题还有




Gordon L. Burditt



The gotcha here is that if the PROGRAM can decrypt the file, so can
someone with a debugger. A counter to that is public-key cryptography:
the expiration date is SIGNED by the public key of the author.
Anyone can decrypt the file or verify the signature; only the author
can make a new one with a different expiration date. The counter
to THAT is to replace the public key of the author in the program
with one that you know the associated private key. There''s also
the issue of just bypassing the code that does the check.

Gordon L. Burditt


这篇关于代码制作试用版软件版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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