How protect proprietary Python code? (bytecode obfuscation?, what better?)

Serge Orlov Serge.Orlov at gmail.com
Mon Apr 17 15:21:17 EDT 2006


seberino at spawar.navy.mil wrote:
> How can a proprietary software developer protect their Python code?
> People often ask me about obfuscating Python bytecode.  They don't want
> people to easily decompile their proprietary Python app.
>
> I suppose another idea is to rewrite entire Python app in C if compiled
> C code
> is harder to decompile.
>
> Any ideas?

Shuffle opcode values in random order, recompile Python, recompile
stdlib, recompile py2exe (or whatever you use for bundling). It will
keep attacker busy for several hours




More information about the Python-list mailing list