Free2Code
 
Time: 2008-12-04, 09:03pm
Hiding python source code
Subject: Hiding python source code  ·  Posted: 2005-09-16, 06:58am
Rank: ? (2)
Member #: 25298
If any of you caught my last post this is an inquiry about another approach. I have a large python application that I need to send somewhere else but I don't want them to be able to see the source code. What are my options in terms of hiding the source code or obfuscating it so that they can use the program but not use the source. Any help is greatly appreciated

 
  Reply to this ·  Post link ·  Top
Subject: Re: Hiding python source code  ·  Posted: 2005-10-27, 07:04pm
Rank: ? (1)
Member #: 25599
You can send the byte code of the extension then there won't be any need for sending the source code

 
  Reply to this ·  Post link ·  Top
Subject: Re: Hiding python source code  ·  Posted: 2006-01-04, 10:29am
Rank: ? (6)
Member #: 26285
Hmm, sending the bytecode may or may not be a good solution. If the person you send the bytecode to _really_ wants to get the code it can be decompiled (and it looks to be very readable after decompilation). Check out "decompyle" or follow these links..
Debian package of decompyle
A service charging to run decompyle
Oh, and for the record, I have no suggestions on how to hide the code, sorry :\ Perhaps, at best, you can encrypt it, and decrypt at runtime?
Hope it helps!

 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons