PDA

View Full Version : How protect lua code?



pfeifer
March 9th, 2009, 07:00 AM
Hi All,

I have made a ccf and I want sell this at my customer.

There is the possibility to protect my lua code?

Thanks

Pfeifer

Rob H
March 9th, 2009, 07:24 AM
You may be able to use luac from a standard Lua 5.0 distribution to compile your sources and just distribute those. I would recommend that you compile to *.lub and modify package.path (or the LUA_PATH environment variable) to add ?.lub as an additional option.

I haven't tried this however, so it may not work.

pfeifer
March 9th, 2009, 08:13 AM
Thanks Rob. I will try.

And CCF protection?

Bye

Pfeifer

Rob H
March 9th, 2009, 08:16 AM
You mean so that they can't edit the CCF? Not currently possible I'm afraid.