What prevents a CD-R from being rewritten?

Solution 1:

Data on a regular CD is stored by making pits (holes), or not-holes (lands), on the CD medium. The pits disturb the reflection of light. Transition from a 0 to a 1 or vice versa is determined by the start or end of a pit (this is called NRZI encoding). There is further complication as these bits are the "channel code", not the content bits; the latter are recovered by decoding the former. And then some of the "content" bits are really Error Correction Code bits. But ultimately, the bits are encoded via holes or not-holes in a reflective layer of metal, usually aluminum.

A CD-R works somewhat the same. It has a reflective surface, but this surface is covered by a dye. You can use a relatively high intensity LASER to heat up the dye layer and turn it opaque. Afterwards, the CD-R can be read in the same way as a normal CD. Light is either reflected or not.

CD-RWs work in the same way, but use a paint which can be turned opaque or not depending on the heat of the LASER.


Unlike the dye in CD-RWs, the dye in a CD-R can not be reverted to its previous state. This is what prevents rewriting to an already written CD-R.

Note: Rewriting with the same image or a image with only the right bit changed would seem to be technically possible, but there are limits as to what could be done. The best you could do would be to burn a "pit" in the middle of a long "land". Since lands have a maximum length of ten bit-times, and both pits and lands have a minimum length of three, this would only be possible where an existing land was nine or ten bits long, and the only possibility would be a pit three or four bits long. Doing this would add two bit flips, and this in turn would necessitate changing ECC bits at other places in the same block. The chances that every such change could be done by adding a pit in the middle of a land are very, very small, even if there was software or drive firmware that would allow the attempt.

Solution 2:

A CD-R disc cannot be used again, but it might be possible to delete existing data.

The disc comes out of the box reflective, but then your drive burns the solid thin chemical dye layer below the plastic and "roughens" it so it becomes slightly transparent. This makes the light disperse when a laser hits it, thus it counts as a zero essentially since the laser gets little light back. There is no way to fix this burned area and make it reflective again. The only way to wipe the data, is to turn 01011010 into 00000000.

Asus makes software called E-Hammer that may work with non-Asus drives:

E-Hammer allows you to permanently delete the data on writable disc (CD-R and DVD-R) formats. Once the data is deleted, it cannot be recovered or restored, and the optical drive will not be able to read the disc. This ensures data security, eliminates the hassle of scratching your old discs, and conforms with our commitment to environmental protection.

If there were software that would just make the laser burn 0's across the disk and ignore the formatting and toc etc., the data is gone. DD in Linux can probably do it.