通过许可方案保护ASP.Net应用程序 [英] ASP.Net applications protection through a license scheme

查看:81
本文介绍了通过许可方案保护ASP.Net应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何机构都会为我提供指导或提供有用的参考资料,说明如何使用许可方案保护asp.net应用程序,该方案允许试用版(例如60天)在购买产品许可证后产生许可证密钥,购买产品密钥后如何控制年度许可证?
预先感谢您

Would any body guide me or give me useful references on how to protect asp.net applications using a licensing scheme which allows a trial version for, let say, 60 days, producing license key after product''s license is purchased, and controlling yearly license once product key is purchased?
Thanking you in advance

推荐答案

与桌面编程相比,您不认为这太简单了吗?除了已经存在的身份验证和用户配置文件以外,没有特殊的技术.如果使用ASP.NET,则服务器端,因此如果没有您的站点,用户将无法执行任何操作.您的企业对此拥有完全的控制权.您创建用户个人资料,并针对每个个人资料跟踪服务时间,付款以及所涉及的所有内容.并且,在试用期结束后,如果用户未将帐户升级到基于支付的帐户,请根据资源的访问权限进行限制,并根据历史记录和支付状态续订订阅等.

因此,您不需要任何有关试用期和许可的特殊手册.您只需要知道身份验证即可.

—SA
Don''t you think this is way too easy, compared to desktop programming? There is no special technology for that except already existing authentication and user profiles. If you are using ASP.NET, you have server side, so you user cannot do anything without your site. And your business has full control over it. You create user profiles, and, for each profile, track service time, payment, all what involved. And, after the end of trial period, limit the access to resources if the user does not upgrade the account to the payment-based one, renew subscription based on history and payment status, etc.

So, you don''t need any special manual on trial period and licensing. You only need to know authentication.

—SA


跟踪网站的试用版比台式机应用程序简单得多.您需要做的是记录每个用户名在数据库中使用该产品时的记录.登录用户名时,请检查他们开始使用的开始日期,然后使用今天的日期计算自此开始的天数.使用基于if-else策略的软件包.如果他们使用的是试用版,并且试用期为15天,以防少于15天,请将其闪烁在还剩x天"的地方.如果超过15,则说试用版已过期,如果您想使用更多购买权".

购买后,您的应用程序应选择标记为有效/已购买"的用户名,并应允许使用全部功能.
Tracking trial-paid version for a website is much simpler than desktop application. All you need is to keep a record of every username from when they are using the product in your database. On username login, check the start date they started using and then calculate days since then using today''s date. Use your if-else strategy based the package. If they were on trial version and it was for 15 days, in case it is less than 15 days - flash it somewhere ''x days left''. If more than 15, then say ''trial version expired, if you want to use more purchase''.

Once bought, your app should pick the flag as ''valid/purchased'' username and you should allow for full feature.


感谢回复.
如果用户更改系统日期,或卸载并重新安装该应用程序,则可能是一个挑战!
如何克服这种情况?
Thanks for replying.
In case user changes system date, or uninstall and re-install the app, it might be a challenge!
How to overcome such scenarios?


这篇关于通过许可方案保护ASP.Net应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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