How protect a package app from copy

2 vues (au cours des 30 derniers jours)
Marc Le Parquier
Marc Le Parquier le 5 Juin 2019
Hello,
I would like distribute an application build by app designer but i would like protect it from copy.
I think about an usb doogle wich allow the app execution. By this way anyway if the app is accessible (web or other) but only the physical usb dongle can open the app.
Is the dongle is possible for matlab app? And if yes , how?
Thank you,
Regards
Marc

Réponse acceptée

Andrey Kiselnikov
Andrey Kiselnikov le 5 Juin 2019
Hi Marc! What about next idea: link the copy of your application to PC id like a disc label or MAC?
Below there are functions how to reach that data from MATLAB:
%Access PC MAC
[status,result] = dos('getmac');
mac = result(160:176);
%Access to Volume Label
[s, out] = dos('vol');
sc = strsplit(out,'\n');
VolLbl = sc{2}(end-9:end); % ‘VolLbl’ is a (1x9) char array
  2 commentaires
Marc Le Parquier
Marc Le Parquier le 5 Juin 2019
Thank you for your answer,
Why not, is a good alternative, but how to insert this condition in the setup code?
I created my code with appdesigner and package it with the "click button". In other way , I'm totally newbee in compilation and i have no experience on this subject...
Please help...
thank you
Marc
Andrey Kiselnikov
Andrey Kiselnikov le 5 Juin 2019
Modifié(e) : Andrey Kiselnikov le 5 Juin 2019
The better way is to build any private web service where there will be a white list of allowed PC ID's (Google Clouds etc.). Then you can use MATLAB Web API to check is current Machine ID allowed to run.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by