This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
glopso's profile picture

Copy-protection

Started by glopso, 12 July 2012 - 11:00 PM
glopso #1
Posted 13 July 2012 - 01:00 AM
Make an option that files on floppy-disks cannot be read, except when running the program. This would allow people greater ability to sell software, and also prevent people from reverse-engineering your rednet protocols to hack your network. Perhaps this could be made more complicated, allowing a passphrase to be used to unlock the program, nerfing the protection somewhat as people could brute-force the protection in the name of information freedom. Hopefully doing that wouldn't cause too much server lag.
kazagistar #2
Posted 13 July 2012 - 08:09 AM
No. This is horrible and evil in real life, and I certainly don't want it in Minecraft.
glopso #3
Posted 13 July 2012 - 03:36 PM
I'll come up with my own copy-protection then.
Cloudy #4
Posted 13 July 2012 - 03:47 PM
The problem is that there is no way to distinguish between opening the file to execute and opening the file to edit it. Even if you added protection into edit to not allow reading certain files without a password, people could easily and trivially get round that.

Regardless - I doubt anything like this would be added. The best way to avoid someone copying your code is to avoid someone getting access to it in the first place.