FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour illegal copy protection
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
illegal copy protection
Posted: Wed Dec 30, 2020 01:09 PM

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 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: illegal copy protection
Posted: Wed Dec 30, 2020 02:27 PM

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
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: illegal copy protection
Posted: Wed Dec 30, 2020 02:36 PM

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 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: illegal copy protection
Posted: Wed Dec 30, 2020 02:41 PM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 158
Joined: Tue Oct 11, 2005 03:10 PM
Re: illegal copy protection
Posted: Thu Jan 21, 2021 03:28 PM

damianodec
Contactame rguardadof gmail dot com
nota: non parlo italiano

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: illegal copy protection
Posted: Thu Jan 21, 2021 06:16 PM

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
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
Re: illegal copy protection
Posted: Thu Jan 21, 2021 06:53 PM

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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: illegal copy protection
Posted: Thu Jan 21, 2021 11:04 PM

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
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 838
Joined: Wed Aug 22, 2007 10:09 AM
Re: illegal copy protection
Posted: Fri Jan 22, 2021 08:05 AM

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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: illegal copy protection
Posted: Sat Jan 23, 2021 06:22 PM

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
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit

Continue the discussion