Find the answer to your Linux question:
Results 1 to 6 of 6
hello i have created script in tcl/tk ....now i have to give it to someone but i don't want to make my source code visible to him or he shouldn't ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    29

    protect file source code

    hello

    i have created script in tcl/tk ....now i have to give it to someone but i don't want to make my source code visible to him or he shouldn't be able to copy something or edit in it...is there any way i can do this......can i apply some password or anything esle..... i want only GUI should be visible........i am running my script with wish ......plz plz help soon...

  2. #2
    Linux Newbie egan's Avatar
    Join Date
    Feb 2009
    Location
    Mountain View, CA
    Posts
    132
    What you want to do is a little contrary to the Linux philosophy....

    I cannot think of a way to truly bar them from accessing the source code, but you could obfuscate it...

  3. #3
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    ya I agree with egan in that its contrary to the spirit of this forum.

    anyway your product, your wish. some seniors may help you with that too.

    the binaries provided by companies like adobe are not open-source. going thru tar files of programs like flashplayer etc may give you an idea...
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  4. #4
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    Very difficult if it is not compiled - if you can run the script, you can probably read it as well.

  5. #5
    Linux Newbie egan's Avatar
    Join Date
    Feb 2009
    Location
    Mountain View, CA
    Posts
    132
    That's why he should obfuscate it... or translate it into Brain**** or Malbolge.

  6. #6
    Just Joined! ManishSinha's Avatar
    Join Date
    Dec 2007
    Location
    Manipal,India
    Posts
    28
    Quote Originally Posted by popey View Post
    hello

    i have created script in tcl/tk ....now i have to give it to someone but i don't want to make my source code visible to him or he shouldn't be able to copy something or edit in it...is there any way i can do this......can i apply some password or anything esle..... i want only GUI should be visible........i am running my script with wish ......plz plz help soon...
    Write it in C using the tk libraries. Compile it and distribute.

    N.B: I prefer not to do this.

Posting Permissions

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