How to secure an executable GUI

조회 수: 1 (최근 30일)
Jessie Bessel
Jessie Bessel 2020년 3월 4일
답변: Walter Roberson 2020년 3월 4일
I transformed a GUI into an executable application. I put this application on a PC and now I am thinking of two things:
  1. Is there any method in Matlab that allows me to work with the application only on that computer? If I put this application on another computer I don't want to work.
  2. Can be realized the following scenario? I put the application on many computers. Each time someone tries to open it, he will be forced to introduce a password that is changing at every opening and only me will know it?
Thank you!

답변 (1개)

Walter Roberson
Walter Roberson 2020년 3월 4일
Is there any method in Matlab that allows me to work with the application only on that computer?
Sorry, No, Mathworks does not supply any security mechanism accessible to users or programmers. It has its own internal licensing mechanism (Flexera ®) for licensing the interactive MATLAB, and it has an encryption based mechanisms for protecting compiled archives, but neither of those are available to users to protect their own programs or restrict them to certain hosts.
You can, though, program your own tests, of various effectiveness. You will not be able to prevent anyone from using the program on another system, but you can possibly make it so much of a nuisance that they do not care to take the time to get around the restrictions.
For example you could query the hardware information, and exit if it does not match values that you hard-coded into your program.
Each time someone tries to open it, he will be forced to introduce a password that is changing at every opening and only me will know it?
You would require hardware assistance for that, such as using quantum entanglement to instant secure communications back to a central hardware authenatication unit. This is something that has worked in research labs for very small keys and texts, but as far as I know, it is not yet practical due to the difficulties of sustaining extended quantum coherence.

카테고리

Help CenterFile Exchange에서 Gate-Based Quantum Computing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by