I have a script file (.m), which I need to distribute for execution. How can I read/write protect it? thanks

  • 1
    $\begingroup$ See Encode. $\endgroup$ – alephalpha Oct 9 '13 at 3:33
  • $\begingroup$ ah...it works exactly the way I want. thanks. I guess there is not issue with running encoded .m files from command line. Also, still not sure, if a .m file encoded and distributed, can be decoded by others? For instance, see the definition of Encode[]: <<dest decodes the file before reading its contents. $\endgroup$ – dude Oct 9 '13 at 5:25

Browse other questions tagged or ask your own question.