[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

application security

Posted on 2004-04-12
3
Medium Priority
?
157 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
2 Comments
 
LVL 7

Accepted Solution

by:
vijay_visana earned 600 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

831 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