Best way to protect my new commercial software.
sturlamolden
sturlamolden at yahoo.no
Mon Dec 10 19:37:20 EST 2007
On 10 Des, 08:15, farsheed <rodmena.... at gmail.com> wrote:
> I wrote a software and I want to protect it so can not be cracked
> easily. I wrote it in python and compile it using py2exe. what is the
> best way in your opinion?
I wrote this in another thread,
1. Put all the compiled Python bytecode in a heavily encrypted binary
file. Consider using a hardware hash in the key.
2. Program a small binary executable (.exe file) in C or C++ that:
2a. Reads the binary file.
2b. Decrypts it to conventional Python byte code.
2c. Embeds a Python interpreter.
2d. Executes the bytecode with the embedded Python interpreter.
3. Protect the executable with a licence manager such as Flexlm or
SoftwarePassport.
I will not make reverse engineering impossible, but it will be
extremely difficult.
As noted, the only completely safe solution is to provide a web
application instead of distributing your program.
More information about the Python-list
mailing list