How can I protect a public script from being changed?
7 次查看(过去 30 天)
显示 更早的评论
I write scripts that I would like other Matlab users to run but I do not want them to be able to modify it. Is there a way to protect a script that I make public?
1 个评论
采纳的回答
OCDER
2018-8-7
Perhaps convert your code to p-code to discourage modifying your codes. It is NOT a full protection for modifying your codes though.
Complete protection against modification is tricky. This would require compiling your code via something like mcc, and if you really want, adding some security checks against modification / reverse engineering (that's above my skill set). But then, its not really usable via Matlab sessions.
I think p-code is what you're aiming for.
0 个评论
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!