The best place to store test data for a web application

After reading many topics on how to create a trial version for the desktop software, I still have some questions about the trial version for the web application.

I have an ASP.Net MVC web application, and I offer a limited time for this. The application will work in IIS> 7.0, so it has very limited access to the system, and therefore there is no place to store information about the remaining trial version.

I am not trying to make my software "uncrackable", but it should not be obvious to the average user how to reset a trial version, so I want to save at least two test data.

So far I have found two places to store information:

1) In the registry under CurrentUser . The user who runs my web application will always have permission to write this key.

2) The AppData folder of the WebApp user. It should also be accessible, but I could not find a safe way to determine the path to this folder (see my question )

Question: What is a good or best place to store trial information for a web application?

thanks

+1
source share
1 answer

I have done several reviews, and there are several articles that provide information on creating trial software versions:

http://www.codeproject.com/Articles/473278/Creating-Secure-Trial-Versions-for-NET-Application

http://www.codeproject.com/Articles/398130/Software-Copy-Protection-for-Net-Applications-a-Tu

Both are intended for real Windows Forms applications, but concepts and thoughts about things like manipulating the system clock can help stimulate some ideas for you and your development team. Basically, there is no bulletproof way to prevent someone from trying to outsmart your defense. As you said, you are not trying to make this hacker-proof, just keep people honest.

Whatever route you take, you and your company should ask yourself where you stand to lose more income 1) people stealing your application, or 2) unsuccessful trials due to overly diligent DRM. I suspect that in most cases (unless you are a player), No. 2 is more worrying.

+1
source

All Articles