Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

try protect lisp

9 REPLIES 9
Reply
Message 1 of 10
fateyo
1483 Views, 9 Replies

try protect lisp

Hello all,

i try to protect lisp not be copy by people again and again.

so i try to search different variable in each computer.

what i try to do is , make lisp to check local variable in each computer.

e.g.
use (getvar "_LINFO") to find hardware lock number
use _PKSER to find autocad serial number
use (getvar "Loginname") to find window Login name

but when users use copy version ....then it doesn't workT_T

Can you guys help me a fever.
is there any method in lisp or vlisp can help me find each compurters:
1. Mac address.
2. ip address.
3. computer Identification code in portable license utility.
or any other useful variable.

Thank You So Much!!!!!!
9 REPLIES 9
Message 2 of 10
Tom Smith
in reply to: fateyo

This has been discussed many times. If you want to restrict a lisp to your company's office environment, then you need to check variables which relate to the office, not to the individual PC. Such as (getenv "userdomain"). Or you could use username or -pkser and compare it to a list of those that are allowed access.

Most casual thieves only try to copy one lisp. If you make sure that your files are mutually interdependent, they probably won't figure out which files are necessary to make that one file work. For instance, have a startup file which checks "something" and sets a global variable, and don't let any lisp run unless that variable is set.

None of this will work unless the lisp to be "protected" is compiled/encrypted. Use your imagination.
Message 3 of 10
fateyo
in reply to: fateyo

Thank you Tom,

i try to sell my lisp to china. As i know too many people using copy version of autocad and window, and somtimes they use ghost copy many many computer with same setting like: userdomain, username, autocad serial number, hardware lock number...of course included my lisp.......what i try to do is keep my lisp only can run on 1 computer. I make new lisp for every new computer by different variable like Mac address T_T.

Thank you for your Help. what you suggest is cool and work in normal company/world.
Message 4 of 10
Anonymous
in reply to: fateyo

How about having the lisp check the LOGINNAME system variable, so that it
only works for one person with that Window Login?
--
_________________________

Bill DeShawn
bdeshawn@nospamsterling.net
http://my.sterling.net/~bdeshawn


wrote in message news:5868129@discussion.autodesk.com...
Thank you Tom,

i try to sell my lisp to china. As i know too many people using copy version
of autocad and window, and somtimes they use ghost copy many many computer
with same setting like: userdomain, username, autocad serial number,
hardware lock number...of course included my lisp.......what i try to do is
keep my lisp only can run on 1 computer. I make new lisp for every new
computer by different variable like Mac address T_T.

Thank you for your Help. what you suggest is cool and work in normal
company/world.
Message 5 of 10
docsaintly
in reply to: fateyo

Something else you could do is compile it into a FAS file and require the user to enter a serial number on the first run that it stores into the registry. And maybe have that serial number be related to some variable on the computer that the user can't change.

i.e. ABC-123-(last 4 of mac)-(logon name) or something.

Or, it wouldn't be too hard to compile a lisp per each person who buys it and just get the info and compile it to only work on their comp.
Message 6 of 10
fateyo
in reply to: fateyo

Thank You docsaintly,

can registry copy from 1 computer to another?
Or if they copy the whole harddisk by ghost to another one, will it work?
because in china they all using copy software.
to install new computer....ghost is good and fast.
they normally do that. TT

Thanks
Message 7 of 10
fateyo
in reply to: fateyo

Thank You Bill,

As i know some of them......all computer using same login name (adminsitrator).
because there are no AD "active directory" in their server.
or all computer not login by domain when working. they only working by workgroup.
they just save user and password when click on the server location.
Message 8 of 10
fateyo
in reply to: fateyo

docsaintly,

Can you tell me how to make first run then keep it stores into the registry please? I having compile lisp into a FAS before.
is it one of the function of FAS ? or i need to do it in lisp?

Thanks
Message 9 of 10
fateyo
in reply to: fateyo

Thank you for everybody's help!!!!!!

i got the solution.
i download doslib from www.mcneel.com
it has a function like
Command: (dos_serialno "d:") drive d: serial no.
"FC35E197"
Command: (dos_macaddress)
("00:15:58:4C:B7:2C")

by compile a lisp to vls per each computer.
before my lisp run, it check local computer's mac address or harddisk drive serial no.
then we can protect our lisp for 1 compuuter only.

Thanks again. Message was edited by: fateyo
Message 10 of 10
mjmane
in reply to: fateyo

Hi I just want to ask how did u do it compiling the those doslib in your lisp to protect it.  Can you give me an idea or sample of vlx as I want to protect my lisp too.

 

Hope to hear from you.

 

Thanks!

ram

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost