限时试用和 Windows 认证 [英] Time limited trial and Windows Certification

查看:20
本文介绍了限时试用和 Windows 认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果您想为某个应用程序实施限时试用,您可能希望留下一些标志(注册表项、文件等),这样程序就不能只是重新安装.

If you want to implement a time limited trial for an application you would probably want to leave behind some flag (registry key, file etc) so a program couldn't just be re-installed.

是否有任何计划允许您在通过各种 Windows 认证计划的同时做到这一点?

Are there any schemes that allow you to do this while still passing the various Windows Certification programs?

一般:-

应用程序必须正确且完整从机器上卸载.这个包括删除文件、注册表键、GAC 程序集、数据库表、元数据库设置,活动目录帐户等.任何留在卸载后的系统,包括安装的系统组件申请,必须有文件记录和合理 - Windows Server 2008 软件徽标安全 - 2.3 彻底卸载

Applications must correctly and fully uninstall from the machine. This includes removing files, registry keys, GAC assemblies, database tables, metabase settings, active directory accounts, etc. Anything left on the system after uninstall, including system components installed by the application, must be documented and justified - Windows Server 2008 Software Logo Secification - 2.3 Uninstall Cleanly

推荐答案

您的理念是仅在标志不存在时才允许安装,这意味着您需要在卸载后将标志留在那里.当用户找到标志并自己删除它时,这也会失败.

You are taking the philosophy of only allowing installation if a flag is NOT there, which means you need to leave the flag there after uninstall. Also this fails when the user finds the flag and deletes it themself.

更好的是,如果你把它转过来,只允许程序在有标志的情况下工作.此标志将是一个注册密钥,其中包含加密的到期日期.当程序过期或被卸载时,您删除该标志.

Better is if you turn it around and only allow the program to work if a flag IS there. This flag would be a registration key that has the date of expiry encrypted into it. When the program expires or is uninstalled, you delete the flag.

我通过让我的用户来我的网站注册并获得免费试用密钥来实现这一点.可能还有其他方法,但我喜欢这个方法,因为它还允许我收集有关谁在尝试我的程序的信息.

I implement this by making my users come to my site to register and get a free trial key. There are probably other ways, but I like this one because it also allows me to collect info about who is trying my program.

这篇关于限时试用和 Windows 认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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