illegal copy protection

illegal copy protection

Postby damianodec » Wed Dec 30, 2020 1: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 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
damianodec
 
Posts: 414
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: illegal copy protection

Postby Antonio Linares » Wed Dec 30, 2020 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: illegal copy protection

Postby damianodec » Wed Dec 30, 2020 2: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 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
damianodec
 
Posts: 414
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: illegal copy protection

Postby Antonio Linares » Wed Dec 30, 2020 2:41 pm

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: illegal copy protection

Postby ricardog » Thu Jan 21, 2021 3:28 pm

damianodec
Contactame rguardadof gmail dot com
nota: non parlo italiano
ricardog
 
Posts: 158
Joined: Tue Oct 11, 2005 3:10 pm

Re: illegal copy protection

Postby TimStone » Thu Jan 21, 2021 6: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
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: illegal copy protection

Postby MOISES » Thu Jan 21, 2021 6: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
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: illegal copy protection

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: illegal copy protection

Postby MOISES » Fri Jan 22, 2021 8: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
MOISES
 
Posts: 838
Joined: Wed Aug 22, 2007 10:09 am

Re: illegal copy protection

Postby TimStone » Sat Jan 23, 2021 6: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
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 105 guests