Advertisement

FairPlay

From Academic Kids

de:FairPlay FairPlay is Apple Computer's name for its digital rights management (DRM, alternately: "Digital Restrictions Management") built in to the QuickTime multimedia technology and used by the iPod, iTunes, and the iTunes Music Store. Every file bought from the iTunes Music Store , with iTunes is encoded with FairPlay. It digitally encrypts AAC audio files and prevents users from playing these files on unauthorized computers.

While the iTunes jukebox remains the most popular method to buy and play FairPlay-protected files, the actual decoding is performed by Apple's QuickTime. In fact, every QuickTime-based player is capable of using these files, including RealPlayer and Media Player Classic.

FairPlay is rumored to have been based on technology created by the company Veridisc. Neither Apple nor Veridisc has confirmed this.

Contents

1 How it works
2 Harmony
3 DeDRMS, PlayFair, and Hymn
4 See also
5 External links

Restrictions

FairPlay will allow a protected track to be used in the following ways:

  • The protected track may be copied to any number of iPod portable music players.
  • The protected track may be played on up to five (originally three) authorized computers.
  • The protected track may be copied to a standard CD audio track any number of times. (The resulting CD has no DRM and may be re-converted to MP3, but this will aggravate the sound artifacts of encoding, since the resulting sound file will have been encoded twice; AAC is lossy.)

Circumventing the Fairplay protection scheme in this fashion may be a violation of the Digital Millennium Copyright Act and therefore illegal and subject to criminal penalties in the United States.

  • A particular playlist within iTunes containing a protected track can be copied to a CD only up to seven times (originally ten times) before the playlist must be changed.

The intentional limitation of Fairplay is that it prevents iTunes customers from using the purchased music on any portable digital music player other than the Apple iPod. On January 3, 2005, an iTunes online music store customer filed a lawsuit against Apple Computer, alleging the company broke antitrust laws by utilizing FairPlay with iTunes so that purchased music will work only with its own music player, the iPod, freezing out competitors (iTunes Lawsuit (http://news.com.com/Lawsuit+claims+Apple+violates+law+with+iTunes/2100-1027_3-5514244.html?tag=cd.top)).

How it works

FairPlay is a fairly simple implementation of common DRM techniques. FairPlay-protected files are regular MP4 container files with an encrypted AAC audio stream. The audio stream is encrypted using the Rijndael algorithm in combination with MD5 hashes. The master key required to decrypt the encrypted audio stream is also stored in encrypted form in the MP4 container file. The key required to decrypt the master key is called the "user key".

Each time a customer uses iTunes to buy a track a new random user key is generated and used to encrypt the master key. The random user key is stored, together with the account information, on Apple’s servers, and also sent to iTunes. iTunes stores these keys in its own encrypted key repository. Using this key repository, iTunes is able to retrieve the user key required to decrypt the master key. Using the master key, iTunes is able to decrypt the AAC audio stream and play it.

When you authorize a new computer, iTunes sends a unique machine identifier to Apple’s servers. In return it receives all the user keys that are stored with the account information. This ensures that Apple is able to limit the number of computers that are authorized and makes sure that each authorized computer has all the user keys that are needed to play the tracks that that particular user bought.

When you deauthorize a computer, iTunes will instruct Apple’s servers to remove the unique machine identifier from their database, and at the same time it will remove all the user keys from its encrypted key repository.

The iPod also has its own encrypted key repository. Every time a FairPlay-protected track is copied onto the iPod, iTunes will copy the user key from its own key repository to the key repository on the iPod. This makes sure that the iPod has everything it needs to play the encrypted AAC audio stream.

At this time, it looks like the restrictions mentioned above are hard-coded into QuickTime and the iTunes application, and not configurable in the protected files themselves.

Harmony

In July 2004, RealNetworks introduced their Harmony technology. The Harmony technology is built into RealPlayer and allows users of the RealPlayer Music Store to play their songs on the iPod. Before the introduction of Harmony this was not possible, because the RealPlayer Music Store uses a different scheme, called Helix DRM, to protect their content. While using RealPlayer to transfer a Helix DRM-protected song onto the iPod, Harmony transparently converts it to a FairPlay-compatible protected file.

Harmony was quietly disabled by Apple around the time of the iPod photo launch. The change makes it so that all music (past and present) purchased through the RealPlayer Music Store will not work on Apple's iPod. In response, Real has said they will get it working again. Music purchased through the iTunes Music Store (iTMS) was not affected

DeDRMS, PlayFair, and Hymn

After the launch of the iTunes Music Store various people made efforts to circumvent the encryption of FairPlay-protected files.

Jon Johansen - also known for his DeCSS program - was the first to discover a way to circumvent the DRM protection. The open source application QTFairUse intercepted the decrypted output and wrote it to a raw AAC file. Most media players do not support such raw files and the files had to be processed with a tool like faad (http://www.audiocoding.com) to create normal files. One of the few media players that is able to play raw AAC files is foobar2000.

The second time around, Johansen reverse engineered the encryption technique used in FairPlay and created an algorithm to completely remove the encryption without re-encoding the encrypted AAC stream. This method is currently used by VLC media player in order to play FairPlay-protected tracks.

A software package named PlayFair - created by an anonymous author - has also appeared. It can remove the encryption from files using the FairPlay DRM mechanism. The author of Playfair also used the methods discovered by Jon Johansen and used by VLC. Apple's legal department forced Playfair to be first removed from SourceForge.net, and then when the Indian open source web site Sarovar.org hosted the project they too were sent a cease and desist by Apple's lawyers. However, Playfair's successor Hymn is alive and well. Hymn is an acronym for "hear your music anywhere".

Jon Johansen himself also released a tool to remove the encryption, called DeDRMS. Later he released FairKeys, which uses Apple’s own servers to retrieve the keys needed by DeDRMS.

All these applications have two things in common. First of all, they use the user keys from either the Apple servers, the iTunes key repository, or the iPod key repository, which ensures they can decrypt only files that are legally bought; you cannot use these applications to decrypt files somebody else bought. Secondly, they keep the metadata inside the MP4 container intact, so it is possible to identify the user who originally bought the file after it is decrypted.

In mid-2004, Apple released an update to iTunes (version 4.6), which would refuse to play files processed with Hymn unless the purchaser metadata were removed from the file, or stored in a nonstandard location.

In March of 2005, it was revealed through a front end of the iTunes Music Store called PyMusique that the Fairplay DRM was added only as a song was being purchased from the store.

See also

External links

Navigation

Academic Kids Menu

  • Art and Cultures
    • Art (http://www.academickids.com/encyclopedia/index.php/Art)
    • Architecture (http://www.academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (http://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (http://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools