Results 1 to 4 of 4

Thread: Lisp Security

  1. #1
    I could stop if I wanted to
    Join Date
    Login to Give a bone

    Default Lisp Security

    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.

  2. #2
    Super Moderator rkmcswain's Avatar
    Join Date
    Login to Give a bone

    Default Re: Lisp Security

    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:
    R.K. McSwain | CAD Panacea |

  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    Login to Give a bone

    Default Re: Lisp Security


    Some additional information HERE.

    Have a good one, Mike

  4. #4
    Active Member jason.cyr13's Avatar
    Join Date
    Login to Give a bone

    Default Re: Lisp Security

    I was reading one of the articles listed earlier in this thread on found this code:

    (defun server-check ()
    (not (wcmatch (dos_hostname) "*myserver*"))
    "myserver not found."
    ) ;- end of progn
    ) ;- end of if
    ) ;- end of defun
    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... [ Moderator Action = OFF ]
    Last edited by Opie; 2006-08-04 at 08:25 PM. Reason: [CODE] tags added, see moderator comment

Similar Threads

  1. Replies: 2
    Last Post: 2015-04-17, 04:00 PM
  2. need security for Lisp file
    By ravindra.mvk468963 in forum AutoLISP
    Replies: 18
    Last Post: 2012-03-20, 07:27 PM
  3. job security!
    By cwilber in forum CAD Management - General
    Replies: 14
    Last Post: 2010-05-24, 02:39 PM
  4. Replies: 2
    Last Post: 2007-06-05, 04:44 AM
  5. API and security
    By fwp in forum Revit - API
    Replies: 2
    Last Post: 2007-01-08, 03:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts