How protect a package app from copy
3 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Andrey Kiselnikov
2019-6-5
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 个评论
Andrey Kiselnikov
2019-6-5
编辑:Andrey Kiselnikov
2019-6-5
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!