Results 1 to 4 of 4

Thread: program self-deactivation and protection with Qt

  1. #1
    Join Date
    Aug 2009
    Posts
    122
    Thanks
    74
    Qt products
    Qt4
    Platforms
    Windows

    Default program self-deactivation and protection with Qt

    Hi,

    I would like to give someone my software for testing and I don't want them to run away with it, so I'd like to protect it somehow. I'd like the program to become inactive after it has been run (used) for 5 times. I already know how to make the program to self-destruct, but I don't know how to make it count how many times it has been started. Does Qt have support for this kind of counting? This is usually done through cookies, I think, but cookies can be deleted. Is it possible to make the program itself count how many times it has been used? The other way to do it would be to check the date and delete the program on a certain day, but again, computer clock can be changed.

    I'm thankful for any ideas you might have for protecting a software. What is the best method?

    Thanks!

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: program self-deactivation and protection with Qt

    Cookies are for web pages and web browsers. But regardless, wherever you store the data, it can be deleted, or your program can be patched to ignore that data by pirates.

    For example, you can open a file, read the counter, increment by one and write that value back. Other people can alter the value too, so you need to find a way around that.

    Or you could just use a ready-made licensing solution.

  3. The following user says thank you to squidge for this useful post:

    timmu (21st May 2010)

  4. #3
    Join Date
    Aug 2009
    Posts
    122
    Thanks
    74
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: program self-deactivation and protection with Qt

    Thanks!

    So, it seems that Qt does not offer any special solutions for software protection?

  5. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: program self-deactivation and protection with Qt

    Correct. If it did, there would most likely be a work around already and you'd find program such as "Unprotector for QtProtect protected applications" or such like.

    The first task for a hacker is always "What protection system did they use?" and "Is there already an unprotector for that system?".

Similar Threads

  1. Replies: 1
    Last Post: 30th April 2010, 14:25
  2. running external console program by gui program
    By alireza.mixedreality in forum Qt Programming
    Replies: 4
    Last Post: 24th April 2010, 19:05
  3. a program to start another program.
    By zakis in forum Qt Programming
    Replies: 4
    Last Post: 17th December 2009, 20:25
  4. Replies: 7
    Last Post: 19th January 2008, 16:29
  5. How do I make a program out of my program?
    By Randulf in forum Newbie
    Replies: 1
    Last Post: 29th May 2007, 12:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.