View Full Version : Lisp Security
Lions60
2006-08-03, 09:24 PM
I was wondering what the best and most secure way to protect a bunch of lisp files. I know anything that has been encrypted can be decrypted. So its not the case that i don't want to keep anyone out because its almost impossible. Just maybe someway to add password protection, or specify a length of time the program can be used, or something like that so that not everyone can get in. The reason for this is because I have a few programs(more like 20) that i know my employer is going to want when ever they find out that i do some programming and have done 2 months of work in 2 weeks because of the use of lisp. Just need a way to protect my files from them until I am atleast compensated.
All Ideas welcome.
rkmcswain
2006-08-03, 09:44 PM
First off, if you are in the U.S., and wrote these programs on company time, using company hardware, stored them on company hardware or even used these programs in the office on company owned licenses of AutoCAD then the source code for these programs may belong to the company, not you.
Of course it's more complicated that that, but you might research this topic.
Having said that, you can compile your raw lisp code to FAS or VLX. Look this up in the developers help file (\help\acad_dev.chm). Of course, make sure you store the source code in a safe place. FAS and VLX cannot be uncompiled.
If your goal is to keep users from running this code outside the office, you could include a check in your code for something like a certain network resource, or the ACAD serial number. See this thread for more info: http://discussion.autodesk.com/thread.jspa?messageID=4886381
Mike.Perry
2006-08-04, 12:16 AM
Hi
Some additional information HERE.
Have a good one, Mike
cyr_j
2006-08-04, 09:26 PM
I was reading one of the articles listed earlier in this thread on found this code:
(defun server-check ()
(if
(not (wcmatch (dos_hostname) "*myserver*"))
(progn
(alert
"myserver not found."
)
(exit)
(princ)
) ;- end of progn
) ;- end of if
) ;- end of defun
(princ)
It then says that I need to call this function at the beginning of the file. Forgive me now as this is probably fairly simple, but I haven't needed to call one routine from another yet.
Thanks for your help.
[ Moderator Action = ON ] What are [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.