Page 1 of 1

Copy Protection

Posted: Tue Feb 03, 2009 9:54 pm
by Luis Krause
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

Re: Copy Protection

Posted: Tue Feb 03, 2009 10:08 pm
by Antonio Linares
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 ... S.85).aspx

Re: Copy Protection

Posted: Wed Feb 04, 2009 8:41 am
by Marc Vanzegbroeck
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

Re: Copy Protection

Posted: Wed Feb 04, 2009 8:47 am
by Otto
Hello Marc,

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

Regards,
Otto

Re: Copy Protection

Posted: Wed Feb 04, 2009 8:56 am
by Marc Vanzegbroeck
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

Code: Select all

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

Re: Copy Protection

Posted: Wed Feb 04, 2009 9:11 pm
by Luis Krause
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 :? )

Re: Copy Protection

Posted: Wed Feb 04, 2009 10:16 pm
by Marc Vanzegbroeck
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/viewt ... ork#p63555

Regards,
Marc