Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Other ways to protect module script source?

Asked by 7 years ago

We all know you can do at the top :

script = nil

But what other measures could you take to 100% protect your source code?

1 answer

Log in to vote
0
Answered by 7 years ago

There is a short, simple answer.

Nothing else is needed

But why Turtle

When the script is set to nil, it can no longer be referenced, but it can safely run the module code from nil. The only way it can possibly be accessed is from the script that called it, and we all know those can't be accessed.

script = nil

is basically all you need.

0
Can you tell me, why you would make script equal to nil? NovaMagic 73 — 7y
Ad

Answer this question