ArticleslgStudy

computer science

FairPlay

FairPlay is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand FairPlay rather than just read about it. In short: FairPlay is a family of digital rights management (DRM) technologies developed by Apple Inc. for protecting videos, books, apps and music. Music The initial version of FairPlay was created to protect music on the iTunes Store, and is the only version of FairPlay that is no longer actively used.

Key takeaways

  • FairPlay belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect FairPlay to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of FairPlay from memory before moving on to harder problems.

Reference excerpt

FairPlay is a family of digital rights management (DRM) technologies developed by Apple Inc. for protecting videos, books, apps and music.

Music The initial version of FairPlay was created to protect music on the iTunes Store, and is the only version of FairPlay that is no longer actively used.

Technical details FairPlay is built into the MP4 multimedia file format as an encrypted AAC audio layer. FairPlay-protected files are regular MP4 container files with an encrypted AAC audio layer. The layer is encrypted using the AES algorithm. The master key required to decrypt the audio layer is also stored in encrypted form in the MP4 container file. The key required to decrypt the master key is called the "user key". When a user registers a new computer with iTunes, the device requests authorization from Apple's servers, thereby gaining a user key. Upon attempting to play a file, the master key stored within the file is then matched to the user key, and if successful, allows playing. FairPlay allows music to be synchronized to an unlimited number of iPods and tracks to be burned to an unlimited number of CDs, though a given playlist can only be burned 7 times without being modified (a limitation which can be circumvented by changing a song's placement). Playback is limited to five computers which were authorized through iTunes; a computer can be deauthorized and another authorized in its place. Before April 2004, the limits were ten playlist burns, and three computers; Apple reduced the playlist limit to seven due to demands from record labels.

Lawsuit In January 2005, an iTunes customer filed a lawsuit against Apple, alleging that the company broke antitrust laws by using FairPlay with iTunes in a way that purchased music would work only with the company's own music player, the iPod, freezing out competitors. In March 2011, Bloomberg reported that Apple's then-CEO Steve Jobs would be required to provide testimony through a deposition. In May 2012, the case was changed into a class action lawsuit. Around the same time, the main antitrust allegation was changed to cover the belief that Apple had deliberately updated the iTunes software with security patches in a way that prevented synchronization compatibility with competing music stores. All iPod owners who had purchased their device between September 12, 2006, and March 31, 2009, were included in the class action lawsuit, unless they opted out. In December 2014, Apple went to trial against the claims raised, with the opposing party's plaintiff lawyers seeking $350 million in damages for nearly eight million affected customers. A few weeks later, the case was closed, with the jury deciding in Apple's favor, citing a then-new version of iTunes as being a "genuine product improvement".

Circumvention/removal The restrictions imposed by FairPlay, mainly limited device compatibility, have sparked criticism, with a lawsuit alleging antitrust violation that was eventually closed in Apple's favor, and various successful efforts to remove the DRM protection from files, with Apple continually updating its software to counteract such projects. After the introduction of the FairPlay system, multiple parties have attempted and succeeded to circumvent or remove the encryption of FairPlay-protected files. In October 2006, Jon Lech Johansen announced he had reverse engineered FairPlay and would start to license the technology to companies wanting their media to play on Apple's devices. Various media publications have written about DRM removal software, though Apple has continually made efforts in updating its software to counteract these options, resulting in upgraded DRM systems and discontinued DRM removal software.

RealNetworks and Harmony technology In July 2004, RealNetworks introduced its Harmony technology. The Harmony technology was built into the company's RealPlayer and allowed users of the RealPlayer Music Store to play their songs on the iPod. In a press release, RealNetworks argued that Harmony was a boon to consumers that "frees" them "from the limitation of being locked into a specific portable device when they buy digital music." In response, Apple issued a statement:

We are stunned that RealNetworks has adopted the tactics and ethics of a hacker to break into the iPod, and we are investigating the implications of their actions under the DMCA and other laws.

RealNetworks launched an Internet petition titled "Hey Apple! Don't break my iPod", encouraging iPod users to sign up to support Real's action. The petition backfired, with comments criticizing Real's tactics, though some commentators also supported it. At the end of 2004, Apple had updated its software in a way that broke the Harmony technology, prompting RealNetworks to promise a then-upcoming fix. In August 2005, an SEC filing by RealNetworks disclosed that continued use of the Harmony technology put themselves at considerable risk because of the possibility of a lawsuit from Apple, which would be expensive to defend against, even if the court agreed that the technology was legal. Additionally, the possibility that Apple could change its technology to purposefully "break" Harmony's function raised the possibility that Real's business could be harmed.

Hymn Hymn (which stands for Hear Your Music aNywhere) was an open-source tool that allowed users to remove the FairPlay DRM of music bought from the iTunes Store. It was later supplanted by QTFairUse6. The Hymn project later shut down after a cease and desist from Apple.

Steve Jobs' "Thoughts on Music" open letter

On February 6, 2007, Steve Jobs, then-CEO of Apple, published an open letter titled "Thoughts on Music" on the Apple website, calling on the "big four" record labels to sell their music without DRM technology. According to the letter, Apple did not want to use DRM, but was forced to by the four major music labels, with whom Apple has license agreements for iTunes sales of music. Jobs' main points were:

DRM has never been, and will never be, perfect. Hackers will always find a method to break DRM. DRM restrictions only hurt people using music legally. Illegal users aren't affected by DRM. The restrictions of DRM encourage users to obtain unrestricted music, which is usually only possible via illegal methods; thus, circumventing iTunes and their revenues. The vast majority of music is sold without DRM via CDs, which have proven commercial success.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with FairPlay

Start with the simplest possible case. Write down what FairPlay claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to FairPlay before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about FairPlay ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of FairPlay

In research
FairPlay appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses FairPlay in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
FairPlay is common in secondary-school and first-year university syllabi. It links to neighbouring topics Audio software, Digital rights management for macOS, Digital rights management systems, so understanding it makes those chapters shorter.
In everyday life
Look for FairPlay outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “FairPlay” →

How to study FairPlay in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what FairPlay means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain FairPlay out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is FairPlay in simple terms?

FairPlay is a family of digital rights management (DRM) technologies developed by Apple Inc. for protecting videos, books, apps and music. Music The initial version of FairPlay was created to protect music on the iTunes Store, and is the only version of FairPlay that is no longer actively used.

Why does FairPlay matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study FairPlay?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on FairPlay.

Tags

  • Audio software
  • Digital rights management for macOS
  • Digital rights management systems
  • ITunes
  • QuickTime

Keep exploring