How to secure an executable GUI

1 visualizzazione (ultimi 30 giorni)
Jessie Bessel
Jessie Bessel il 4 Mar 2020
Risposto: Walter Roberson il 4 Mar 2020
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!

Risposte (1)

Walter Roberson
Walter Roberson il 4 Mar 2020
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.

Categorie

Scopri di più su Gate-Based Quantum Computing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by