Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
549 views
in Technique[技术] by (71.8m points)

c# - How to Get Exact Location and Angles of Sectors on CD or DVD (Data Position Measurement)?

I'm developing a copy protection. It must be able to identify compact disks using some features like sector angles or exact physical location of sectors (Data Position Measurement). So the question is which features I can use to do this and how I can get some information about them, especially angles of sectors?

As you know the main point is that these features must change in each time the disk is copied.

Preferred languages are C++ and C#.

Thanks.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Basically you can't.

Sector angles and read radius are information, that are not exposed by the average optical drive, you would need to modify the firmware of the drive to send this information to the host.

There is even more: Depending on environmental conditions the drive's view of these parameters might change quite heavily, and production tolerance (most of all the center hole not being exactly at the center of the disk) will make it very hard to use this information, as it will change between different specimens of an identical disk.

Most important: This will not create any copy protection - if you can verify this information, so can someone else, allowing him to use it to create a godd-enough copy.

The fundamental rule is: Any information, that you can extract from the disk to verify its authenticy can also be extracted to copy it - this is the reason, why copy protection schemes work best in locked-down hardware (e.g. game consoles), where the drive firmware really is adapted to it.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...