lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


For my current project, I have to take some measures to protect the lua
scripts against hacking. Rather than try to obfuscate the lua code
itself though, I was just going to pack a bundle of lua scripts and
other resources into encrypted and compressed archive files. I have a
runtime system that loads an archive file and mimics a file interface to
the contents. So lua requires no changes at all and just keeps opening
things from files, but the lua scripts are also protected from unwanted
modification.

And sure, a determined hacker could break the encryption but the system
seems reasonable for my needs.

- DC