MATLAB codes with a network licensing

조회 수: 1 (최근 30일)
Svyatoslav Kharitonov
Svyatoslav Kharitonov 2019년 1월 20일
댓글: Walter Roberson 2019년 1월 22일
Dear colleagues,
My question is following:
Let's assume one would like to distribute protected MATLAB scripts (p-files) that can be executed only if the positive answer is received from a server (specified e.g. with an IP-address), i.e. sort of a network license.
Could it be possible to implement with reasonable efforts?
Have a nice day!
  댓글 수: 3
Svyatoslav Kharitonov
Svyatoslav Kharitonov 2019년 1월 22일
Dear Rik,
Technically, yes, you are correct.
However, practically it does not have any sense, because m-file shows the actual code (which you would like to hide and protect).
Rik
Rik 2019년 1월 22일
What I meant was that it is actually not really relevant to know you want to put it in a p-file, because that is a trivial step compared to the trouble you need to go to in order to get something like this working. Like Guillaume said, it will be very difficult to make. General rule of thumb: protecting software is at least an order of magnitude more difficult than cracking it. So asking 'could it be possible to implement with reasonable efforts' is a much too large/vague question.
I second Guillaume's suggestion of getting help from a company that sells this kind of protection as a product. It may or may not be relatively cheap, but it will be cheaper than your time, which you probably prefer spending on improving/selling your project itself, instead of the anti-piracy measures.

댓글을 달려면 로그인하십시오.

답변 (1개)

Guillaume
Guillaume 2019년 1월 22일
Yes, it can be easily implemented (in matlab or any other language). It can also be trivially defeated by capturing the network packets when connected to the server and replaying them when not. You possibly could make it more secure by implementing some timestamped challenge but I suspect it would still have some security holes if you implemented that yourself. If it's important to you, you would probably be better off buying a commercial licensing product (and even these get cracked)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by