Whitepapers
Product Development

Calsoft Labs is a leading technology partner for companies, helping them develop new products and modernize existing ones using emerging technologies. more

Download PDF: Windows Media Security Bookmark and Share

The content header is signed with the public key; for the license issuer to verify the signature, the public key must be shared with the licensing service. Before issuing the license, the license issuer can verify the validity of the license by using the content packager's public key. If these signatures do not match, the license is not issued.

Click here to go to Top

File Protection

Ater generating the keys and the content header, the WMA file is now ready for protection. The WMRMProtect object encrypts the file, and packages both the encrypted content and the content header in a WMA file.

Click here to go to Top

Rights

Rights specify how a consumer can play a WMA file and define any other actions that are allowed such as allow for play on PC, the number of times a song can be played, license duration, song transfer, etc.

The following rights are provided by the Windows Media Rights Manager:

  • Using WMA files on a Computer
  • Licenses
  • Transferring WMA files
  • Security Levels

Click here to go to Top

Using WMA files on a Computer

  • AllowPlayOnPC - allows the consumer to play the WMA file on the computer. This right is set by default.
  • PlayCount - specifies the number of times the consumer is allowed to play the WMA file. By default this right is not set; unlimited plays are allowed.
  • AllowBurnToCD - specifies if the consumer can copy the WMA file to a CD. By default this right is set.
  • BurnToCDCount - specifies the number of times the consumer can burn the WMA file to a CD. By default this right is not set; unlimited copying is allowed.
  • AllowBackupRestore - allows the consumer to manage licenses by backing up and restoring them. Consumres can restore licenses on the same computer or to different computers. By default this right is set.

Click here to go to Top

Rights for Licenses

  • BeginDate - specifies the date from which the license is valid. Before this date the WMA file cannot be played. By default this license is valid immediately.
  • Expiration Date - specifies the date after which the license is no longer valid; the Windows Media file can no longer be played. By default this right is not set and the license never expires.
  • DeleteOnClockRollback - this right deletes license if the consumer's computer clock is rolled back to an earlier time. By default this right is not set.
  • DisableClockOnRollback - disables a license if the computer's clock is rolled back. The license is enabled again when the clock is corrected. By default, this right is not set.

Click here to go to Top

Transferring Windows Media files

When a WMA file is transferred, a portable license is also created. The following rights are applicable for portable licenses.

  • AllowTransferToNonSDMI - allows the consumer to transfer the WMA file to non-SDMI-compliant portable device. By default, this right is set.
  • AllowTransferToSDMI - allows the consumer to transfer the WMA file to an SDMI-compliant device. By default, this right is set.
  • TransferCount - specifies the number of times a consumer can transfer a WMA file to SDMI-compliant portable devices. By default, this right is not set; unlimited transfers are allowed.
  • PMRights - specifies the rights given in portable licenses. By default this right is set to 19, which specifies the rights in the portable license to play the file on a portable device and transfer it.
  • PMExpirationDate - specifies a date when a portable license expires. On expiry, the file cannot be transferred from the computer or portable device. if the portable license expires on a portable device, the file can no longer be played. By default this right is not set.

Click here to go to Top

Security Levels

The application security level is a value that ranks the security of a playback device. Different device applications have different levels of security. For example, a playback device with a high security level can play SDMI-compliant content, whereas a less secure application cannot.

A minimum application security can be specified for playing WMA files. On playing a file, the minimum application security level specified in the license is compared to the application security level of the playback device. the result determines whether the file can be played.

What does the security level indicate to the content owner? The content owner can decide if he wants the WMA files to be available to a wide market (requiring low security level) or to restrict playback to very secure playback devices (requiring high security level)

The following table shows application security levels for different playback levels.

Security Level
Application
Playback Devices

150

Application that produces clear content

Windows Media Player for Pocket PCs

450

The first level of security intended to meet the level of the SDMI specifications; portable media must have a hardware serial number

SDMI-compliant playback devices




1000

Audio players Portable players PCs with software obfuscation (software code with hidden information)


Windows Media Player






2000

PCs with protected audio stacks

Windows ME

The following rights specify the minimum security levels for playback devices:

  • MinimumAppSecurity - the minimum security level that is required of a player application. By default this right is set to 150.
  • PMAppSecurity - minimum security level required of a portable player or portable media. The default value is 150.

Click here to go to Top

License Generation

  • Issuing Licenses
  • Reissuing Licenses

To play a packaged file, the consumer must obtain a separate license containing the key. The license for a WMA file is linked to the computer to which it is issued. Consumers can share the WMA file but each recipient must have a license to play it. In addition to unlocking files licenses can contain rights and other properties that specify the use of the WMA file. The properties are configured in the license separate from the WMA file, allowing for the issue of different licenses for the same WMA file and change license properties on the fly. For example, to promote a song the content owner can distribute a WMA file to an electronic mailing list with a license that enables consumers to play the song five times. When consumers purchase the song, a new license with the right to unlimited playback is issued. The following diagram shows the basic process for delivering packaged WMA files and issuing licenses.

To generate a license, the license issuer uses the license key seed with the keyID in the WMA file to generate the key, and then specifies the rights. The license issuer uses the Windows Media License Service to issue the license and bind it to the consumer's computer. Each license contains the following information:

  • The key to unlock the WMA file
  • The rights and conditions of the license
  • Priority of the license with respect to other licenses for the same WMA file
  • Attributes - name and description of the license

Issuing Licenses

  • Pre-delivery
  • License request delivery
    • Non-silent
    • Silent
  • Version 1 and version 7 license delivery

The process of issuing a license is illustrated in the following diagram

License Generation process diagram

  • The player sends a request for a license to the windows media license manager
  • This request - called a challenge - is received and put into a WMRMChallenge object. The challenge contains the content header, information about the consumer's computer, and a list of requested rights.
  • The WMRMRights object generates the rights to be put into the license.
  • The content header information is put into the WMRMHeader object to retrieve a keyID
  • The keyID and license key seed are put into the WMRMKeys object to generate the key.
  • The client information, the rights, the keyID, and the key are put into the WMRMLicGen object to generate the license. the license is put into the WMRMResponse object to generate a response that is sent back to the consumer and put into the license store on the consumer's computer.

Pre-delivery - the license is delivered before the WMA file is downloaded. A consumer, selects a song and purchases it; a license is issued. Then the consumer downloads the song and can play it immediately. the consumer is not required to follow additional steps to acquire a license after acquiring the WMA file.

License request delivery - the license is delivered in response to a license request which is made by the consumer's player. The consumer is allowed to download the packaged song. When he tries to play the song:

  • Non-silent delivery - on requesting the license, the WM Licensing Service prompts the consumer for more information. A web site might request the consumer to provide an e-mail address for make payment for a license.
  • Silent delivery - the licensing service has the required information; the consumer does not have to furnish any information. He may have registered or paid a subscription fee.

Version 1 and version 7 license delivery - this method accommodates those who have players that support only WMRM version 1. for a license request, both version 1 and version 7 licenses are issued to the consumer, who can now play the WMA file on a version-1 and version-7 enabled players If the consumer is using a version 1 player, only a version 1 license is issued.

Reissuing Licenses

Previously issued licenses can be reissued to the customer. A consumer's computer may be damaged or replaced; he might want to recover all the licenses issued to him. If backup and restore of licenses is not allowed, the only way for the consumer to recover licenses is for the site to reissue them. The content owner can set his own policy for reissuing licenses. For each license transaction, the userID and keyID for which the license was issued must be recorded, and the rights if the same type of license is to be reissued.

Click here to go to Top

Conclusion

Windows Media Rights Manager provides music companies with safe and secure options to host their copyrighted songs on the Internet. It provides a great deal of flexibility in combining the rights model with a revenue model dictated by the content owner.

The use of encryption and public key cryptography provide a very secure environment for the content owner. Based on the various rights - playing, transfer of songs, portable player rights, and security levels, the content owner can devise a flexible revenue model based on these rights. Furthermore, the licensing options - pre-delivery i.e. before a song is downloaded, and post-delivery, after the song is downloaded - widen the scope of the revenue model.

Click here to go to Top