See the top rated post in this thread. Click here

Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: LISP file protection

  1. #1
    Member
    Join Date
    2003-07
    Posts
    6
    Login to Give a bone
    0

    Question LISP file protection

    I am looking for ideas on protecting lisp files that are developed in house from being copied and used outside of my office. The commercial protection programs I have seen appear to be used on exe and dll file types. Would love some help from some of you CAD GURU'S out there.

    Thanks,

    Dan

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,804
    Login to Give a bone
    0

    Default Re: LISP file protection

    Compile your .LSP code to FAS or VLX format. This will prevent the source code from being copied. "How to" is documented in the Developers Guide

    As far as preventing it's use outside your office, you could have the code check for a certain AutoCAD serial number, or maybe check for the existance of a certain file on your network. There are probably many other ideas out there also.

    One thing is for sure, if you compile your lisp code to FAS or VLX format, don't lose the source code. See http://rkmcswain.blogspot.com/2005/1...fas-files.html for some more info.

    See also: http://discussion.autodesk.com/searc...x=0&search.y=0

    One last tip, code "compiled" with the old "protect.exe" program is easily "unencrypted" back to raw lisp code.
    Last edited by rkmcswain; 2006-05-31 at 01:45 AM.
    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 file protection

    Hi Dan

    Please note I have *moved* this thread from the CAD Mgmt. General forum to this one, as I believe it will be better served here.

    Thanks, Mike

    Forum Manager

  4. #4
    Member
    Join Date
    2003-07
    Posts
    6
    Login to Give a bone
    0

    Default Re: LISP file protection

    Thanks RK!

    I will try to digest all of that info and come up with specific questions. I appreciate you sharing your knowledge and time!

    Dan

  5. #5
    I could stop if I wanted to lmitsou's Avatar
    Join Date
    2003-01
    Location
    UK
    Posts
    219
    Login to Give a bone
    0

    Default Re: LISP file protection

    R.K. gave you the best solution to your "problem".

    However, as an alternative, there is a program (it is not AutoCAD add-on) which locks and encrypts files and folders. We have been using it in my company and we are quite happy with it. If you like you can give it a try. Maybe it will work for you too.

    http://www.newsoftwares.net/folderlock/


    Thanks,

  6. #6
    Member
    Join Date
    2003-07
    Posts
    6
    Login to Give a bone
    1

    Default Re: LISP file protection

    lmitsou,

    Thanks for the response, I don't think the program will work for this particular application because I need my employees to be able to access the files I am trying to protect, however it looked interesting for other file types that I may want to hide or lock.

    Thanks Again!

    Dan

  7. #7
    Active Member
    Join Date
    2005-10
    Posts
    80
    Login to Give a bone
    0

    Default Re: LISP file protection

    But why is it that much of a concern? I mean, its only a lisp. And wouldn't someone in-house have to distribute the lisp outside for there to be a issue?



    I work for a small firm, so alot of times i dont understand some issues big firms have..

  8. #8
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,109
    Login to Give a bone
    1

    Default Re: LISP file protection

    I would suggest a security mechanism like...

    Create a toolbox of critical functions used in all of your programs.

    Keep the file secure.

    Compile the functions into a vlx file.

    Inside the toolbox functions include a line of code that reads a key file or files on your server.

    Maybe read a registry entry might make it more secure.

    If it finds it and it has the right password in the file the function would run...

    Otherwise it won't work, or will prompt for a password.

    That way your lisp routines will work, but only on your network. Off site they wouldn't work.

    I have done something similar to that at my work. shhhhh...

    Peter

  9. #9
    I could stop if I wanted to cadd4la's Avatar
    Join Date
    2001-12
    Location
    Newport Beach, CA
    Posts
    399
    Login to Give a bone
    0

    Question Re: LISP file protection

    Hi everyone,

    Can anybody share (i.e examples) on how the code and the exterior file (i.e. .xls, .doc, etc..) looks to do this?

    Thanks,

    Kyle C.

  10. #10
    I could stop if I wanted to
    Join Date
    2006-04
    Posts
    466
    Login to Give a bone
    0

    Default Re: LISP file protection

    How about PROTECT.EXE(attached)?
    I use it with a batch file to encrypt a group of autolisp files.
    Attached Files Attached Files

Page 1 of 3 123 LastLast

Similar Threads

  1. Timed File Protection
    By leslieboyer352448 in forum AutoLISP
    Replies: 1
    Last Post: 2013-06-25, 05:35 AM
  2. 2013: Timed File Protection
    By leslieboyer352448 in forum Revit - API
    Replies: 0
    Last Post: 2013-06-24, 09:23 PM
  3. Write protection of a file
    By sivampeta_dheeraj in forum AutoCAD General
    Replies: 10
    Last Post: 2011-08-02, 12:10 AM
  4. File protection
    By kingmendicant in forum Revit Architecture - General
    Replies: 2
    Last Post: 2007-04-05, 03:42 AM
  5. Write protection of a file
    By sivampeta_dheeraj in forum AutoLISP
    Replies: 3
    Last Post: 2006-06-08, 07:07 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
  •