illegal copy protection

Post Reply
User avatar
damianodec
Posts: 372
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

illegal copy protection

Post by damianodec »

hi,
I'd like to protect my app.exe builded by FWH from illegal copy.
is there any FWH function?
have I to use others 3rd part program?
how do you protect your pgm?

thank you.
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: illegal copy protection

Post by Antonio Linares »

Damiano,

You identify the netcard id of the computer where you are going to install it:

? GetNetCardID()[ 1 ]

then you modify your PRG this way:

if GetNetCardID()[ 1 ] != "THE_NETCARDID_OF_THE_PC" // use here the value you got above
MsgStop( "not authorized installation" )
quit
endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
damianodec
Posts: 372
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

Re: illegal copy protection

Post by damianodec »

thank you Antonio,
my customers download pgm from www site and I'd like to send them the key that works only on that pc.
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: illegal copy protection

Post by Antonio Linares »

the key that works only on that pc is the value of GetNetCardID()[ 1 ]
regards, saludos

Antonio Linares
www.fivetechsoft.com
ricardog
Posts: 149
Joined: Tue Oct 11, 2005 3:10 pm

Re: illegal copy protection

Post by ricardog »

damianodec
Contactame rguardadof gmail dot com
nota: non parlo italiano
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: illegal copy protection

Post by TimStone »

I don't want to deal with hardware ties because people get new computers and then I have to give them new ID's. Also, I provide my program as networkable and don't charge extra per workstation.

My clients print invoices and other data for their clients, so their name, address, and phone appear on that document. I use a keyfile system where the data is encrypted. The program then un-encrypts the record at startup and applies it while the program is running.

I also built an autoupdater that downloads the keyfile every 3 hours to be sure it is the current version. With this I can activate messages that support payments were not received, and thus support is no longer available, or shut off systems for license violations, or handle access for people renting the software ( SAAS ).

30 years ago I had a problem with software pirates. Once I went this route it all stopped.

For awhile I used SoftwareKey which actually can be setup to handle licenses, fees, demos, etc. online. It's only beneficial if you use their services to do the processing, and their credit card fees are significantly higher than what I get through my bank. However, their system does work, and removes you from any oversight problems.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: illegal copy protection

Post by MOISES »

Timm,

Please can you share how you do the upgrade? Antivirus usually block this kind of actions.

Thank you very much.
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: illegal copy protection

Post by TimStone »

I have a small program that runs on their server ( or primary ) computer. It cycles every 3 hours. It reaches out to my server and downloads a "data" file that tells it if there are any updates, and also includes a very compressed file of their license data. In addition, after midnight, it runs a backup and a series of automated processes where it transmits contracted data to 3rd party companies ( if they use them ).

If there is a new executable file ( stored in zip format ), it is downloaded and uncompacted. ( I use this to also transfer help file updates, tax tables, etc ).

Because the server reaches out and downloads the files, Windows security has no problems with it. However, if they use 3rd party security it might have to be configured. I make it clear I provide no support for 3rd party security.

I actually started this process with a server in my garage, and a dial in connection, in the late 1980's. Now, of course, we use an internet connection to my hosted server. It is very fast, file sizes are small, so I never have any issues.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
MOISES
Posts: 824
Joined: Wed Aug 22, 2007 10:09 am

Re: illegal copy protection

Post by MOISES »

Thank you very much Tim.

Please could you share the function you use to download the files over the internet?
Saludos / Regards,

FWH 20.04, Harbour 3.2.0 dev (r1909261630) y BCC 7.40
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: illegal copy protection

Post by TimStone »

Moises,

Sorry for the delay ... I run Win 10 using Parallels on an iMac and once again it has "gone down" due to an error ... and it takes the system days to fix itself.

I'll give the example when I get access again.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
Post Reply