Solved

application security

Posted on 2004-04-12
3
148 Views
Last Modified: 2013-11-20
Hi all!

I'm just finishing an application in VC++. But before I send it to the person, which order it, I want to make some security, so that I'll get paid for my work. What I want is, that my application works OK for a few days (10, 20, 30, ...), but after that it won't run any more (when you'll run it, it will automatically close). So when the customer will pay, he will get the new version without any security.
What is the easiest way, to do such thing? Maybe some examples?

Thanks.
0
Comment
Question by:sasabunetic
3 Comments
 
LVL 7

Accepted Solution

by:
vijay_visana earned 200 total points
ID: 10811953
put some encrypted value in registry which will give your software date of installation (take system date) every time you start just check this value for two things one wheter its tempered or not and other to count days of use.
0
 
LVL 14

Expert Comment

by:wayside
ID: 10813774
Use a hidden registry key ( http://www.sysinternals.com/ntw2k/info/tips.shtml#registryhidden ) and save not only the date when it was first run, but also the date when it was last run. You can use this second key to make sure the user doesn't set the clock back to re-enable the software.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now