0

I want to create some simple copy protection for my program, I want my program could be run only from original read-only optical disc (CD/DVD), my question is:

  1. is there any unique number for each optical media that I could check against my program?
  2. is there a simple way (or C++ snippets) to programatically check whether my program was launched from optical disc instead of writable disk?
  3. is there any copy protection scheme that you know i could use, but i prefer end-user doesn't need to input any serial number, need internet access or use some usb-dongle.
4

2 回答 2

2

不。您没有指定操作系统,但我知道没有一种常用的操作系统可以将虚拟内存中的代码状态与启动它的介质联系起来。一旦你的程序运行起来,“它从哪里启动”的整个概念通常都没有明确定义。

您标记了“加密狗”。可能需要 USB 密钥或某些特定媒体,但您不能保证从它启动代码。

于 2011-07-02T20:25:32.490 回答
1

Short answer: "No", Longer answer, In order to be able to run your program the computer must read it all. There is no simple effective way you can tie the program to that physical disk.

于 2011-07-02T20:15:48.803 回答