?
Solved

HOW LIMIT THE VALIDATION DATE OF A PROGRAM

Posted on 2003-12-03
9
Medium Priority
?
260 Views
Last Modified: 2010-04-03
Dear Experts,

Could you please tell me if you know any script for limit the time of life of a program?


The unique procedure I have not works (was made in Pascal).

Regards,


Letchev
0
Comment
Question by:letchev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 2

Expert Comment

by:odissey1
ID: 9867994
Hi letchev,

There is no-brain solution: upon first run write some binary file with 'solid' name into Windows directory (like OSdriver.dll) with absolute time in it. Next time program is running it should check that time and compare with current time.

My advice: do not put strong restrictions on your users. Giv'em some flex too!

regards,
odissey1
0
 
LVL 1

Accepted Solution

by:
FeralCTO earned 75 total points
ID: 9868107
Here are 2 good choices.

The open-source library Jedi VCL has a component named TJvTimeLimit that does what you're looking for.

http://jvcl.sourceforge.net/ 

In addition, TurboPower OnGuard is another open source project that does what you want. It's more robust and, therefore, more complicated.

http://sourceforge.net/projects/tponguard/ 

Ron
"FeralCTO"

0
 
LVL 5

Assisted Solution

by:Gwena
Gwena earned 75 total points
ID: 9871820
There are a few possibilities

-Have your exe alter itself by adding a date/time past which it will fail to operate.
(This can be defeated by restoring the original exe again and again)

-Write a file somewhere on the system that can be checked for the stop date
(this can be detected by monitoring programs)


-Modify an existing file by adding a stop date to it (like a windows help file or similar)
(also can be detected by monitoring software)

-Modify data in a sector of the HD where it is safe to do so.... this is tricky so be careful.
(if you alter the boot sector some anti-virus proggies will go NUTS)

-There are some sneakier ways... but I would not describe them nor use them.

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Expert Comment

by:delphized
ID: 9872733
I use an hardware USB key with a clock inside. If your application is valuable you could consider this lind of protection.
This lind of key is made to distribute demos and is harder to break (well not impossible, but harder).
0
 
LVL 1

Expert Comment

by:mgazza
ID: 9913193
lol i have my own server for that kinda stuff craskers n cajkers cant crask tis without comptley decompiling the app and making there own version :P
0
 
LVL 5

Expert Comment

by:delphized
ID: 9914077
mgazza, if this is you work, well, good to know. But my work is to make and sell programs...
0
 
LVL 1

Expert Comment

by:mgazza
ID: 9914123
ye it is, my client reads it own file that it has acess to and writes to it vir a script which contains there trial time, perchanced info, email address hackers cant hack stuff they dont have access to
0
 
LVL 5

Expert Comment

by:delphized
ID: 9914572
very clever, but if they introduce a program between your program and your server and simulate the server answer... (as for hardware key protection cracking) ...
I think both method are valid, and the most effective part is the psycological effect on the end user.
0
 
LVL 26

Expert Comment

by:EddieShipman
ID: 9929640
[quote]
-Modify an existing file by adding a stop date to it (like a windows help file or similar)
(also can be detected by monitoring software)
[/quote]

Many a program alters pwrpoint.ini's date to perform this type of action. Easily picked up by
a FileChangeNotifier, however.

So eprograms even modify an obscure registry entry but those are also easily picked up by
a registry monitor.


0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month14 days, 6 hours left to enroll

801 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