user3408433
user3408433

Reputation: 1

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.

Upvotes: 0

Views: 1009

Answers (2)

MSalters
MSalters

Reputation: 179809

Exact measures won't work, but that's not necessary for fingerprinting purposes. You can measure seek times between any pair of sectors.

I intentionally said "fingerprinting". You will first need to measure inter-device variation for your intended market (which is probably PC, not XBox, right? So that's quite some variation). Then, you need to investigate correlations - what's the relation between two-track and three-track seek times?

Finally, you need to come up with an appropriate tolerance. Smudges on disks WILL cause seek errors.

Upvotes: 0

Eugen Rieck
Eugen Rieck

Reputation: 65274

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.

Upvotes: 1

Related Questions