[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Protect a lua script which has been compiled
- From: Charles Heywood <vandor2012@...>
- Date: Thu, 19 Jan 2017 09:10:10 +0000
First - the compiled Lua source is NOT portable. You can't guarantee that it works between machines. Machines that don't support certain things will fail if the bytecode is not compatible with bytecode that would be generated on that machine.
If you still want to continue with doing this, chances are the best bet is to obfuscate the source before compilation and distribution. That would make it harder to understand - but not impossible. You might also look into the bytecode optimizer that was posted a while back because that can help with reduction of reverse-compiling, or someone generating source code from a compiled output.
I've coded a lua script and compiled it to a .bin file ...
I search a way to protect this .bin file to avoid that the users copy
and use this .bin on other computers .
Is it possible, per example with a registration under an encrypted key
of the HDD serial number in the registry ?
If OK, how to do it ?
Thanks for replying