Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

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
 
Share this answer
 
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.
 
Share this answer
 
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?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900