Is it possible to restrict the access to a custom function to do not allow other user to apply modification?

3 Ansichten (letzte 30 Tage)
I have written a calculation sofware that I need to share with other users, but I don't want other people to be able to modify the script without a permission, because this package of fuctions will be an official tool inside the office, with new release when required.
Wich is the smarter way to do this without loosing the possibility to access the functions in case of further improvements and updates?

Akzeptierte Antwort

Abderrahim. B
Abderrahim. B am 25 Aug. 2022
Hi!
Maybe you convert it to a protected code using pcode. See how in the link below:
Hope this helps
  2 Kommentare
Walter Roberson
Walter Roberson am 25 Aug. 2022
Note that pcode should not be considred robust against determined attackers. It is known that some people have ways of reversing pcode generated before R2022a (which revised pcode security.)
Giovanni P
Giovanni P am 25 Aug. 2022
I'll try and then I'll let you know, but it looks like a good idea to me.
I will verify that this works fine with all classes and function that I've defined.
In the office we have many release of matlab from 2017 to 2021, I hope this will work.
Thank you @Issa and @Walter Roberson.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by