FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Copy Protection
Posts: 59
Joined: Tue Oct 11, 2005 01:39 AM
Copy Protection
Posted: Tue Feb 03, 2009 09:54 PM

I've seen that there are some users here the use Protection Plus to copy protect
their FWH apps. Others use AntiDuplicate and even Antonio's pendrive sample.

I used Protection Plus years ago with Clipper/16 bit only and it worked great and
looking at Roger Seiler's entry I see it's still a robust product.

Are there any other commercial apps others are using that would like to comment
on how they work? Any other experiences you can share?

One thing we're looking for is the ability to somehow collect and store serial numbers
from the network where our app is installed (we use ADS so a dedicated server is
pretty much required anyway) to avoid users with multiple offices simply installing
in other locations without purchasing additional licenses. I know Protection Plus
offers this but I'd like to evaluate other options if they're available.

Thanks!

Luis Krause

"May the Source be with GNU"
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Copy Protection
Posted: Tue Feb 03, 2009 10:08 PM
Luis,

> somehow collect and store serial numbers from the network where our app is installed

"The SendARP function is used to request the physical hardware address (sometimes referred to as the MAC address) that corresponds to a specified destination IPv4 address."

http://msdn.microsoft.com/en-us/library/aa366358(VS.85).aspx
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Copy Protection
Posted: Wed Feb 04, 2009 08:41 AM
Lois,

I'm using in some application the serial-number an MAC adress of the PC's.

For some other programs I'm using the Dongle HASP HL of aladdin. http://www.hasp.com
With this dongle you can also protect the program without change the source-code of the program.

Regards,
Marc
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Copy Protection
Posted: Wed Feb 04, 2009 08:47 AM

Hello Marc,

how do you handle the problem if there are multiple network adapters in your system.

Regards,
Otto

Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Copy Protection
Posted: Wed Feb 04, 2009 08:56 AM
Otto,

If there is more than 1 networkadaptor on a PC I add all mac-adress into my license file.

To check the if the MAC-adress is valid I do something like this

aValues := GetNetCardId()
IF ValType( aValues ) == "A"
    FOR i = 1 to len(aValues)
        IF alltrim((lfinfo[ 19])) == alltrim(aValues[i])
            ret_val = .t.
        ENDIF
     NEXT i
ELSEIF alltrim((lfinfo[ 19])) == aValues
      ret_val = .t.
ENDIF


Regards,
Marc
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 59
Joined: Tue Oct 11, 2005 01:39 AM
Re: Copy Protection
Posted: Wed Feb 04, 2009 09:11 PM

Marc:

Is there a way to obtain the MAC address of the server where the app is installed?

It would be easier just to get the MAC address of the server than collecting them
from each workstation.

Luis ( not Lois :? )

"May the Source be with GNU"
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Copy Protection
Posted: Wed Feb 04, 2009 10:16 PM
Luis,

In a previous topic I asked this question and I received this answer from Antonio.
Unfortunately I didn't try this yet

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=12596&p=63555&hilit=mac+network#p63555

Regards,
Marc
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion