Results 1 to 4 of 4

Thread: Lisp Security

  1. #1
    I could stop if I wanted to
    Join Date
    2006-07
    Posts
    233
    Login to Give a bone
    0

    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
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    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: http://discussion.autodesk.com/threa...sageID=4886381
    R.K. McSwain | CAD Panacea |

  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Lisp Security

    Hi

    Some additional information HERE.

    Have a good one, Mike

  4. #4
    Active Member
    Join Date
    2015-11
    Posts
    86
    Login to Give a bone
    0

    Default Re: Lisp Security

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

    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... [ 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
  •