A Technical Overview of Windows Media DRM 10 for Devices
Microsoft| 2004-11-23

A Technical Overview of Windows Media DRM 10 for Devices

 

Microsoft Corporation

September 2004

 

Applies to:
   Microsoft® Windows Media® DRM 10 for Portable Devices
   Microsoft Windows Media DRM 10 for Network Devices

 

Summary: Provides a technical overview of Windows Media DRM 10 for Portable Devices and Windows Media DRM 10 for Network Devices, two new technologies that permit portable and network devices to play content protected using the Windows Media Rights Manager SDK. This document describes licenses and rights used for portable devices, as well as new features of Windows Media DRM. It also includes scenarios in which both these technologies could be used. This document is intended for content providers and device designers.


Legal Notice


Table of Contents

Introduction.......................................................................................................................... 1

Windows Media DRM 10 for Portable Devices......................................................................... 2

What the Windows Media for DRM 10 Portable Device Porting Kit Contains......................... 2

Portable Device Requirements.......................................................................................... 3

Hardware Requirements.............................................................................................. 3

Software Requirements............................................................................................... 3

Metering......................................................................................................................... 4

Secure Clocks................................................................................................................ 4

Portable Device Licenses and Rights................................................................................ 5

License Chaining........................................................................................................ 5

Windows Media License Rights for Portable Devices..................................................... 6

License Transfer and Content Burning Rights................................................................ 8

License Acquisition for Portable Devices........................................................................... 8

Direct License Acquisition........................................................................................... 8

Indirect License Acquisition......................................................................................... 8

All Licenses............................................................................................................... 9

Portable Device Scenarios............................................................................................... 9

Content Purchase...................................................................................................... 9

Timed-Expiration or Play-Count Limited Rental............................................................ 10

Subscription............................................................................................................. 11

Acquiring Media Directly from a Device....................................................................... 12

Windows Media DRM 10 for Network Devices....................................................................... 12

Network Device Scenarios.............................................................................................. 13

Video Playback........................................................................................................ 13

Music Playback....................................................................................................... 13

Network Device Requirements........................................................................................ 14

Revocation and Exclusion for All Devices.............................................................................. 14

For More Information........................................................................................................... 16


Introduction

The Microsoft® Windows Media® DRM 10 is a flexible platform to protect and securely deliver audio/video content for playback on a personal computer, portable device, or network device connected to a home network. This platform includes two new technologies that allow portable and networked devices to play media files protected with Windows Media Digital Rights Management (DRM) technology. Both technologies allow Windows Media DRM content to be used by non-Windows devices, but each satisfies different scenarios.

Windows Media DRM 10 for Portable Devices is a lightweight technology that allows portable devices to store and play protected content. Such devices include portable media players and mobile phones. A device supporting Windows Media DRM 10 for Portable Devices can process and respect the rights in a license, allowing approved users to acquire licenses and play protected content, subject to the rights of the license.

Windows Media DRM 10 for Network Devices, in contrast, allows devices to render Windows Media DRM–protected content over a network from a personal computer running Windows XP. It is a protocol that specifies the interaction between the computer, which holds the protected content and licenses, and the remote network device, which requests permission to play the content. Examples of network devices include set-top boxes, DVD players, Digital Media Receivers, and Digital Audio Receivers.  Network devices are required by license agreement not to allow any kind of permanent content storage; the rendering device cannot save or use the content except for one-time playback.

Both of these technologies require the device manufacturer to sign a licensing agreement with Microsoft. This license specifies design requirements that help secure the protected content and Windows Media technology during device manufacturing and customer use.

This document provides some representative usage scenarios for both technologies, including information about license and device requirements for each scenario, as well as an overview of license rights for these devices.


Windows Media DRM 10 for Portable Devices

Windows Media® DRM 10 for Portable Devices Porting Kit is a porting kit consisting of a group of functions for processing Windows Media DRM–protected content. These functions are provided as ANSI C source code. Application designers reference this code and compile it into their applications. Because the source code is written in ANSI C, it can be used by devices running non-Windows operating systems.

Windows Media DRM 10 for Portable Devices allows you to integrate Windows Media DRM technology into hardware devices, such as mobile telephones, set-top boxes, and portable digital media players. This code allows portable devices to act as full-featured media players (although they cannot transfer licenses to other devices).

Windows Media DRM 10 for Portable Devices supports the following features:

·       Improved license store performance. Features constant retrieval times for content licenses, regardless of how many licenses are in the store.

·       Improved license updating performance. Allows users to update expired or soon to expire licenses quickly when connecting to the Internet or a computer.

·       Support for both direct and indirect license acquisition. Allows both direct Internet license acquisition by the device, and indirect license acquisition using a computer proxy.

·       License chaining. Improves license acquisition performance in subscription scenarios.

·       Support for secure clocks. Allows devices to play content with time-based expiration (such as subscription content).

·       Metering. Enables content providers to reduce royalty costs and track customer preferences more closely.

·       Support for licenses issued by earlier versions of Windows Media license servers. Allows devices to use licenses issued by earlier version license servers, if the license server has a registry key added. (However, these servers will not be able to include any new portable device rights in their licenses.)

Content owners and license issuers use the Windows Media Rights Manager SDK to create applications that protect content and issue licenses. Users can use any application built on Windows Media DRM 10 for Portable Devices to play protected content.

What the Windows Media for DRM 10 Portable Device Porting Kit Contains

Windows Media® DRM 10 for Portable Devices Porting Kit contains ANSI C code to manage and use Windows Media DRM content, as well as documentation and sample applications. The sample applications provide compilable code for sample applications that create an encrypted file, create license challenges and responses, meter content usage, and perform other common tasks.

Applications must also implement a set of functions that are called by the Porting Kit code. These developer-implemented functions include file I/O calls, memory allocation calls, and a few other basic system calls.


Portable Device Requirements

Portable devices have the following general hardware and software requirements. Requirements will vary somewhat, depending on what capabilities the device will support, such as metering or time-based licensing.

Hardware Requirements

·       Approximately 45 KB RAM for Windows Media DRM 10 for Portable Devices. This is the maximum amount used during license binding, but must be available. The size requirement is estimated based upon the size of an internal data structure plus an estimated 3 KB for local stack space.

·       Approximately 200 KB storage space for the Windows Media DRM 10 for Portable Devices binaries. This amount can be reduced somewhat if the device does not support certain features, such as metering or indirect license acquisition.

·       A tamperproof real-time clock, if the device will support time-metered licenses. These include licenses that have expiration dates, or are only valid for a certain period of time. A secure clock will need to be set through an Internet connection, either directly or by using a computer as a proxy. See the Secure Clocks section for more information. (As an alternative, developers can implement anti-rollback clock functionality, which prevents clock rollback attacks.)

·       Additional storage space to hold content licenses and data store information. A license is typically 2–5 KB. Licenses should be periodically cleared out as they expire; Windows Media DRM 10 for Portable Devices provides a function to help do this.

·       For greater security, a device should be able to securely store a unique device serial number.

Software Requirements

·       The device operating system must support the following standard file I/O calls: open file, close file, read file, write file, set file pointer, lock file, unlock file, set end of file, and get file size.

·       The device operating system must implement memory allocation calls to allocate and free memory.

·       If the device will support time-based licenses, the operating system must be able to get the system time, as well as convert between file time and system time.

·       If the device will directly acquire a content license over the Internet, it must support HTTP 1.0 or later.

·       If the device will be able to receive licenses indirectly by docking to a computer running Windows, it must support Microsoft Media Transfer Protocol (MTP) to communicate with the computer. Information on MTP will be posted on the Microsoft Web site in the near future.

·       The device must have an XML certificate, digitally-signed by Microsoft, to identify itself. How this is acquired is discussed in the licensing agreement.

·       The device must be able to parse the ASF file format. All protected files are contained within an ASF container. Any encoding method can be used for the media file itself.

·       The device must be aware of a small number of defined Windows Media rights, and understand how the application must implement them. So, for example, the device must recognize which right allows a user to play content, and which buttons to enable in the application when that right is granted.

Metering

Windows Media licenses support metering. With metering, the device maintains a count of how many times a file is played. When the portable device connects to a computer or the Internet, this metering count is uploaded to the content provider. To ensure user privacy, these counts are not available to the Windows Media DRM 10 for Portable Devices application itself.

Metering information is intended solely for use by the content provider or licensor. Metering does not alter or affect any behavior on the user’s system, and does not identify the user. Privacy concerns of the user are always respected.

Metering is provided to allow the content provider to accurately assess royalties and to enhance its play list. Because metering can be more cost-effective, service providers can provide much larger catalogs for customers to download. Metering also allows a content provider to adjust their catalog to suit their customers' preferences.

Secure Clocks

A secure clock is required by licenses that specify time restrictions, such as beginning dates and expiration dates. A secure clock is particularly important in rental and subscription scenarios. Secure clocks are only required for computers and portable devices; network devices do not need them, since the computer performs an initial right verification before it sends content to a network device.

The device clock is set by accessing either a Web-based, secure time service, or a network clock. Devices with Web access can query the service directly; otherwise the device connects to a proxy application on a computer that queries the secure time service.

When a device is new or has lost power, the clock is in an unset state. In an unset state, a device cannot play or acquire licenses for content with a time-bound license. Windows Media DRM 10 for Portable Devices allows for a grace period. A grace period is the number of hours, defined in each content license, during which content can be played after a device clock becomes unset. If the device supports grace periods, the device makes a "best guess" at the current time by using the value of the last-known secure time.

The following requirements must be met when implementing a secure clock:

·       The clock must be tamper-proof, so users cannot reset the clock to bypass an expiration date in a license. The device may provide an additional clock that the user can set, although this clock will have no effect on the secure clock.

·       The clock time can be set only by connecting to a reliable source, such as the secure time Web service run by Microsoft. If a response arrives after the time-out threshold of 30 seconds, which must be hardwired in the device, the response is considered invalid.

·       By default, new out-of-the-box devices are in the unset state. When the device loses power, the clock must return to the unset state and remain so until the clock is deliberately reset.

·       The device clock must be accurate to within two minutes per month (one hour drift over three years).


Portable Device Licenses and Rights

Protected content is encrypted with a key contained in a license, itself encrypted and tied to a specific machine. The license, which is separate from the content, contains a combination of rights and rules, such as expiration dates or the number of times the content can be played. Separating the license from the content allows different licenses to be issued as needed for the same content. For example, the content owner could issue a free license that allows a user to play the content only five times, and a license for a fee that allows the user to play the content an unlimited number of times.

Licenses are issued to, and bound to, one computer and cannot be copied or shared. If a user tries to play protected content and does not have a valid license, information in the content triggers the license acquisition process in the media player. Licenses must specifically include the AllowCopy right to allow it to be copied and used on a portable device. See the License Acquisition for Portable Devices section to learn how a device obtains a license.

Content licenses are stored inside a license store. This store holds all the licenses on the machine, organized by content key ID and license ID. The functions in the Windows Media DRM 10 for Portable Devices manage license retrieval and storage on the device. The application need only call a cleanup function periodically to remove expired licenses and perform other necessary maintenance.

In addition to the license store, the device also hosts several other data stores, such as a metering store (which holds metering information), and a synchronization store (which holds a list of licenses that need to be updated). The application does not need to interact directly with these stores, except to periodically call the cleanup function. However, because Windows Media DRM 10 for Portable Devices is provided as source code, application developers can see how the Windows Media DRM 10 for Portable Devices manages the store and can choose to manage it manually, if they prefer.

License Chaining

License chaining was designed to facilitate and extend subscription business models. With license chaining, a subscriber is issued a root license that specifies user rights and restrictions, which are likely valid for only a short period of time—for example, one month. This does not grant access to any individual songs. For the user to acquire this root, he or she must pay a fee and be authorized and authenticated.

Each piece of protected content is associated with a "leaf" license that is tied to this root license. The leaf license may specify additional rights, like the number of allowed plays, but it is also bound by the rights in the root license.

Each time a user wants to listen to a song in the catalog, the DRM application checks if an appropriate leaf license for the content is present in his or her license store. If the user does not own a license for that song, the computer requests a leaf license from the content provider. The user does not need to provide any credentials to acquire the leaf license, because it is tied to the root license, which is secure. Because authentication and authorization do not need to occur to get a leaf license, leaf license acquisition is fast and unobtrusive to the user.


Windows Media License Rights for Portable Devices

The following tables describe the Windows Media DRM rights supported by the Windows Media DRM 10 for Portable Devices system. Rights in bold are new for this version of Windows Media Rights Manager.

Playback Rights

Right

Description

AllowPlay

Permits content to be played (updated from AllowPlayOnPC, because it also allows content to be played on a portable device). 

PlayCount

The number of times this content may be played.

 

License Expiration Rights

Right

Description

BeginDate

The license validity start date. The license is not valid before this date.

DeleteOnClockRollback

If present in the license, and the clock is set back to an earlier time, this license will be deleted.

DisableOnClockRollback

If present in the license and the clock is set back to an earlier time, this license will be disabled.

ExpirationAfterFirstUse

The amount of time following the first license use that the license will remain valid.

ExpirationDate

The license validity expiration date. The license is not valid after this date.

ExpirationOnStore

The amount of time a license is valid after it is first acquired on a particular computer, in hours.

GracePeriod

The number of hours that a device that has lost secure clock time may operate using its “best guess” time.

 


Security Rights

Right

Description

MinimumSecurityLevel

A player must have this security level or higher to use this content. See the list following this table for an explanation of levels.

MinimumDigitalCompressedVideoOutputProtectionLevel

The minimum protection level for digital compressed video output that the device must support, to allow the content to be played. See the list following this table for an explanation of levels.

MinimumDigitalUncompressedVideoOutputProtectionLevel

The minimum protection level for digital uncompressed video output that the device must support, to allow the content to be played. See the list following this table for an explanation of levels.

MinimumAnalogVideoOutputProtectionLevel

The minimum protection level for analog video output that the device must support, to allow the content to be played. See the list following this table for an explanation of levels.

MinimumDigitialCompressedAudioOutputProtectionLevel

The minimum protection level for digital compressed audio that the device must support, to allow the content to be played. This can require a device to block digital output, check driver certificates, and set a minimum driver security level. See the list following this table for an explanation of levels.

MinimumDigitialUncompressedAudioOutputProtectionLevel

The minimum protection level for digital uncompressed audio that the device must support. This can require a device to block digital output, check driver certificates, and set a minimum driver security level. See the list following this table for an explanation of levels.

ExtendedAnalogVideoProtectionList[].type and ExtendedAnalogVideoProtectionList[].configuration

Set of extended analog output protection schemes that the content creator has explicitly required for the content. Extended analog protection systems take precedence over the MinimumAnalogVideoOutputProtectionLevel setting.

 

Five levels of increasing security are defined for audio output by the audio output protection rights:

100 Unprotected

200 Obfuscated (protected with Secure Audio Path technology, allowing digital output)

300 Encrypted low (protected with Secure Audio Path technology, digital output prohibited)

400 Encrypted medium

500 Encrypted high

Similarly, five levels of increasing security for video are supported by the video output protection rights:

100 Unprotected

200 Obfuscated (for analog video: Copy Generation Management System)

300 Encrypted low (for uncompressed digital video: High-bandwidth Digital Content Protection with Secure Signaling, such as COPPv1 or HDCP Upstream Protocol).

400 Encrypted medium

500 Encrypted high (for compressed digital video: Windows Media DRM 10 for Network Devices)

License Transfer and Content Burning Rights

No license transferal or content burning rights are permitted in a portable device license. However, if the license was transferred from a computer to the device using indirect license acquisition, the AllowCopy right must be in the original license on the computer.

License Acquisition for Portable Devices

License acquisition occurs in one of two ways on a portable device:

·       Direct license acquisition. The device acquires the license directly from a license server over the Internet.

·       Indirect license acquisition. A computer transfers an existing license to a connected device.

Direct License Acquisition

In direct license acquisition, a Web-enabled device requests a license directly from a Windows Media license server by sending a license challenge. The device presents its device certificate to the license server, which then binds the content's license to the public key in the device certificate and downloads the license to the device in a license response. The device uses its private key to decrypt the license.

The device must have a way to connect to the Internet for direct license acquisition. Examples include a networking device, such as a wireless LAN card; a Web connection through a desktop computer with an Internet connection; or a direct Internet connection (for example, a set-top box supporting Windows Media DRM 10 for Portable Devices might have a cable modem connection). With a direct Internet connection, the device must be capable of handling the HTTP protocol and often the device includes a Web browser to allow the user to browse content, select content, and enter payment information.

If a device acquires content through direct license acquisition, this content is bound to the device. The license cannot be transferred to another device, or to a computer. Nor can the content be burned to CD, because portable device licenses do not permit content copying.

Indirect License Acquisition

In indirect license acquisition, the portable device connects to an application (typically a media player) on a computer that already has content licensed to that user. The license must include an AllowCopy right to allow it to be transferred to the device. The computer application must be built using both the Windows Media Format SDK (to handle DRM) and the Windows Media Device Manager SDK (to communicate with the device). The Windows Media Player is one such application. The portable device itself only needs to support MTP (Media Transport Protocol, an extension of PTP, Picture Transport Protocol), but can be running any operating system.


When a user transfers protected content to his or her portable device, the media player on the computer retrieves and decrypts the content encryption key from the license. A component of the media player requests the public key from the device, uses this public key to encrypt the content encryption key, and inserts it into a new license that is tied to the device certificate of the portable device. The computer then transfers this new license to the device along with the content. To allow this license to be transferred to a portable device, however, it must include the AllowCopy right. Without this right, the license cannot be transferred.

A license has an optional node containing device rights. If present, the rights inside this node are transferred to the device license, instead of the parent license rights. The computer does not need an active Internet connection at the time of the license transfer.

The transferred license is wedded to the portable device, the same as a directly-acquired license. This transferred license will not permit further transfers or content copying. However, the computer that transferred the license can burn content to CD and transfer licenses as many times as its license permits.

All Licenses

All portable device licenses are tied to a specific device. Every portable device must have a device certificate and a device ID. These certificates are digitally signed XML certificates that uniquely identify the device. The licensing agreement details how the manufacturer or device acquires a certificate and ID. Once transferred to a portable device, the license no longer allows itself to be transferred, or the content to be copied.

Portable Device Scenarios

The following sections describe business scenarios for portable DRM devices. Each scenario describes what rights the license could contain to enable that scenario.

All of these scenarios require the ability to acquire content and licenses from a content provider either directly through the Internet, or indirectly through a computer acting as a proxy. See the License Acquisition for Portable Devices section for more information on content and license acquisition.

Licensed content that is already present on a computer can be copied to a device only if the license includes the AllowCopy right. Most of the following scenarios assume that content owners will specify this right to enable their customers to share content between their computer and their portable device, and should therefore have this right.

Content Purchase

John purchases music from an online music downloading service. This music is valid forever, once payment has been made. Though he still has some restrictions, such as whether or not his computer must support Secure Audio Path, he can make as many copies to CD or his portable music player as the license permits. However, if his friend Lucy copies the song to her own computer, she must visit the online service and purchase her own license before she can play it.

A license for content purchase would include the following rights:

·       AllowPlay, to allow the content to be used.

·       If the content is not acquired directly by the device, AllowCopy allows the content and license to be transferred to a portable device, and CopyCount specifies the number of times they may be transferred.

·       Various security rights, such as MinimumSecurityLevel, and MinimumDigitalCompressedVideoOutputProtectionLevel to prevent content from being output or specific applications from being used to play it.

In order to support content purchase, a portable device must support license acquisition either directly (by providing Internet capabilities), or indirectly (by providing computer docking capabilities). See the License Acquisition for Portable Devices section for more details.

Timed-Expiration or Play-Count Limited Rental

Elaine is having a few friends over on Friday night, and on Wednesday she downloads a new video from an online video rental Web site. They watch the movie on Friday night, and Saturday she calls her brother to tell him about it. He comes over to watch the movie Saturday night. The movie license expires Sunday night, 48 hours after the first viewing time.

This scenario demonstrates a timed expiration license. License expiration can take many forms:

·       A license can become valid and expire at exact calendar dates

·       A license can expire a specified number of hours after first use (as described here)

·       A license can expire a certain number of hours after it is installed onto a computer or device; and a license can expire after a certain number of plays.

A content provider can use any combination of these restrictions to specify complex playback scenarios.

In order to support timed expiration, a portable device would need a secure clock. A secure clock is a clock on the device that is resistant to tampering and is set from a trusted source. See the Secure Clocks section for more information.

A timed-expiration license would include the following rights:

·       AllowPlay, to allow the content to be played.

·       If the content is not acquired directly by the device, AllowCopy allows the content and license to be transferred to a portable device, and CopyCount specifies the number of times they may be transferred.

·       One or more of the following expiration rights. Note that when using a subscription service, the expiration right usually would be attached in the root subscription license, not the content leaf license (see the Portable Licenses and Rights section for more details).

·       A license start and end validity date, if you wish to specify absolute license validity dates,

·       ExpirationOnStore, if you wish to specify how many hours from acquisition that a license is valid, or

·       ExpireAfterFirstUse, if you wish to specify an expiration time in hours after first license use.

·       Whether to disable or to delete the license if a clock rollback is detected.

·       Playcount, if you wish to specify a maximum number of times the content can be played.

·       Various security rights, such as MinimumSecurityLevel, and MinimumDigitalCompressedVideoOutputProtectionLevel to prevent content from being output or specific applications from being used to play it.


In the scenario given, the license would include the following rights:

·       AllowPlay, to allow the content to be played.

·       AllowCopy, to allow the content to be copied to a portable device.

·       An ExpirationAfterFirstUse right set to 48 hours.

·       A license validity start time of the download time, and a license validity end time of download time + 30 days.

·       A specification either to disable or to delete the license if a clock rollback is detected.

·       Various security rights, such as MinimumSecurityLevel, and MinimumDigitalCompressedVideoOutputProtectionLevel to prevent content from being output or specific applications from being used to play it.

If Elaine had rented the movie for a single viewing, with no end-date restriction, the license would have included the following rights:

·       AllowPlay, to allow the content to be played.

·       AllowCopy, to allow the content to be copied to a portable device.

·       A Playcount value of one.

·       Various security rights, such as MinimumSecurityLevel, and MinimumDigitalCompressedVideoOutputProtectionLevel to prevent content from being output or specific applications from being used to play it.

Subscription

John belongs to a monthly music subscription service. With his subscription, he can download and listen to any number of songs he wants to, for unlimited play, on either his computer or his portable music player. However, if he does not renew his license each month, all his songs on all his devices will expire.

The monthly subscription service works by issuing a root license with a monthly validity time, and individual content licenses tied to that root. (For more information on root and leaf licenses, see the Portable Licenses and Rights section). In order to play a song the first time, John must connect to the content provider and download a license for that song. Because there is no additional fee attached to this license, and no additional authorization or authentication, the license retrieval is fast.

In order to support this scenario, the device needs a secure clock and a way to connect either to a desktop computer or directly to the Internet to update its licenses. The content provider might also wish to enable metering on the computer and device (which allows the content provider to adjust their content to suit customer interest). 

The subscription root license would need to specify the following rights:

·       AllowPlay, to allow the content to be played.

·       A license start and end validity date, spanning one month.

·       Whether to disable or delete the license if a clock rollback is detected.

·       Various security rights, such as MinimumSecurityLevel, and MinimumDigitalCompressedVideoOutputProtectionLevel to prevent content from being output or specific applications from being used to play it.


The content leaf licenses would need to specify the following rights:

·       AllowPlay, to allow the content to be played.

·       AllowCopy, to allow the content to be copied to a portable device.

·       An optional CopyCount to limit the number of devices that can play this content.

·       Whether to disable or delete the license if a clock rollback is detected

·       Various security rights, such as MinimumSecurityLevel, and MinimumDigitalCompressedVideoOutputProtectionLevel to prevent content from being output or specific applications from being used to play it.

·       RequireMetering, if you wish to enable content play metering.

Acquiring Media Directly from a Device

The following two scenarios demonstrate devices that acquire content and licenses directly:

·       Mobile phones. Melody has a mobile phone and she wants to get some new ring tones. She browses the Internet on her Web-enabled phone to her favorite ring tone download site and buys five hot new Debussy ring tones for her phone.

The license would be fairly simple for this scenario: a license with AllowPlay, to allow the content to be used.

·       Digital Media Receivers. Otis wants to see Sharp Stick in the Eye, the latest Hong Kong thriller out this week. He turns on his Digital Media Receiver (DMR) and orders the movie for a single viewing. The DMR requests the movie and a license over the cable data network from a content provider, and downloads the movie with a one-time play right enabled.

This device would not require a secure clock, only a license with the following rights:

·       AllowPlay, to allow the content to be played,

·       PlayCount set to one,

·       Various security rights, such as MinimumSecurityLevel, MinimumDigitalCompressedVideoOutputProtectionLevel, and so on to prevent content from being copied outside the device.

Windows Media DRM 10 for Network Devices

Windows Media® DRM 10 for Network Devices specifies authorization, authentication, handshaking, and encryption techniques to allow a network device to request protected content from a computer over a wired or wireless network. The server computer must be running Windows® XP and have the Windows Media Connect software component installed. The network device must present a digitally-signed XML certificate to verify and authenticate itself. Details of where and how this certificate is acquired are given in the licensing agreement. Windows Media DRM 10 for Network Devices includes a porting kit, which allows devices to support playback of Windows Media DRM content regardless of the devices operating system.  

See the Network Device Requirements section for hardware and software requirements for network devices. Devices built on Windows Media DRM 10 for Network Devices do not need to host a specific operating system.


Here is how a network device works:

1.     The first time a device is used, it must be registered and authorized by the server using Universal Plug and Play. Registration involves a device ID number supplied during manufacturing, and a signed XML device certificate. This certificate identifies the device, and also contains information used to ensure secure communication.

2.     During initial registration, the server pings the device to verify that it is close enough to be considered inside the home. This is determined by measuring whether the device responds to server proximity detection within 7 milliseconds. This proximity detection also validates the device.

3.     Periodically, the server repeats proximity detection to revalidate the device.

4.     The device requests content for playback from the server.

5.     If the server determines that the device is validated and has the right to play the content on the network device, it sends a response containing a new, encrypted session key, a rights policy statement specifying the security restrictions that the device must enforce (such as High Bandwidth Digital Content Protection), followed by the content. The content is encrypted by the session key. Each time content is requested, a new session is established.

6.     The network device must parse the rights policy and determine if it can adhere to the required rights. If it can, it may render the content.

For more information on specific scenarios using a network device, see the Network Device Scenarios section.

Network Device Scenarios

Licenses for Windows Media DRM 10 for Network Devices playback devices are identical to licenses for computer playback; any license that allows content to be played on a computer will also allow content to be played on a network. The exceptions to this are if a license specifically excludes a network device, or if a device does not support the required output protection levels. Only Microsoft can exclude a portable or network device (see the Revocation and Exclusion for All Devices section for more information).

Here are a few scenarios where a network device might be used:

Video Playback

Esteban wants to watch a video from his computer on a television in his living room. He has a number of videos that he previously purchased and downloaded on his home computer. He points his remote at a Digital Media Receiver (DMR) connected to his television, and gets a list of available movies on his computer. Esteban selects one with his remote control, the DMR requests playback from the server, is authorized, and the movie begins.

Music Playback

Kelly has several thousand licensed songs that she's purchased online stored on her computer. She has a Windows Media DRM 10 for Network Devices Digital Audio Receiver (DAR) attached to the home stereo in her living room that allows her to stream music from her computer across her wireless home network. The DAR has a small LCD screen that lists all the songs on her computer, allowing her to select and play songs from her library on her high-end stereo during a party.


Network Device Requirements

Devices must fulfill a number of hardware and software requirements to use the Windows Media DRM 10 for Network Devices protocol. The licensing agreement will provide more specifics. These requirements are for Windows Media DRM 10 for Network Devices using Windows Media Connect.

Devices must:

·       Support the ASF file format.

·       Be able to communicate using IP and HTTP technologies, as well as any other protocols required by the network connection between the server and the network device.

·       Support Universal Plug and Play registration.

·       Support the following encryption standards:

·       Advanced Encryption Standard (AES) with 128-bit keys, using both ECB and CTR modes.

·       1024-bit RSA cryptography, with the ability to store and protect the private key.

·       MACs using SHA-1 with 1024-bit RSA encryption, as well as AES OMAC1.

·       Be able to store their device certificate and any certification authority certificates.

·       Support Universal Plug and Play-based HTTP downloads.

·       Support whatever playback codecs are needed for the content.

·       Be able to parse the binary XMR policy and enforce the specified rights. XMR is a proprietary binary format; the format documentation, the definition of all the rights, and example policy parsing code will be included with the licensing agreement.

·       Be prepared to support any specific output security schemes that specific licenses may require. Examples of security requirements include Copy Generation Management System (for analog video) or Secure Audio Path (for audio). 

Revocation and Exclusion for All Devices

All existing implementations of Windows Media® DRM require that the DRM component trust the application to handle decrypted content securely and according to the rules specified in the content license. Unfortunately, it is inevitable that some content will be “leaked,” allowing an unauthorized, unprotected digital copy of the content to be made. This may occur due to an application becoming compromised or a user failing to comply with the terms and conditions of the DRM license agreement. To overcome these issues, Windows Media DRM 10 for Portable Devices supports the concepts of revocation and exclusion.

Revocation is when a license issuer tells a computer requesting a license to invalidate the license for a particular piece of content or a component. Revocation is enforced by license issuers. Revocation is used for different reasons, including a breach of licensing agreement by a component designer, or a compromise of a DRM component. In order for revocation to occur, a portable device must visit a license server or attempt to update a license.

Exclusion is the process of denying a license to a requesting device, because it has been identified as being insecure or compromised. Exclusion is initiated and enforced by license issuers.


The following table lists most of the objects that can be revoked or excluded:

Object

Revocation

Exclusion

Portable and network devices

Yes, by Microsoft

No

DRM security components

No

Yes, by content licensor. Alternatively, a license may specify that a component needs to be updated to a more current, secure version.

Content

Yes, by content licensor

No

Applications

Yes, by Microsoft

Yes, by content providers

Video drivers supporting Certified Output Protection Protocol (COPP)

Yes, by Microsoft

No

 

The following list shows what criteria can be used to exclude a license request. Devices matching all the criteria in an exclusion list will be blocked from obtaining a license. An exclusion specification can include one or more of the following items. Any requesters matching all the specifications for a single exclusion entry will be prevented from obtaining a license.

·       The device authorization certificate used to sign the device's identification certificate.

·       The firmware major version.

·       The firmware minor version.

·       The hardware major version.

·       The hardware minor version.

·       The device manufacturer.

·       The device model name (the friendly name of the model line).

·       The device serial number.

So, for example, if an exclusion entry specifies both Contoso as the manufacturer and 2 as the major version, all Contoso version 2.x applications will be excluded, but a Contoso 3.1 application or a Litware 2.1 application will not be excluded.

Both revocation and exclusion occur at license request time.


For More Information

·       For information about the Windows Media® Rights Manager SDK, see the Windows Media DRM 10 page (http://www.microsoft.com/windows/windowsmedia/drm/) on the Microsoft Web site.

·       For information about the Windows Media Device Manager SDK, see the Windows Media SDK Components page (http://www.microsoft.com/windows/windowsmedia/mp10/sdk.aspx) on the Microsoft Web site.

·       For general information about Windows Media products and technologies, see the Windows Media home page (http://www.microsoft.com/windows/windowsmedia/) on the Microsoft Web site..

·       For information about Windows Media specifically for developers, see the Developer Depot (http://www.microsoft.com/windows/windowsmedia/knowledgecenter/developerdepot.aspx) on the Microsoft Web site.

·       To learn how to create high-quality Windows Media master files for online streaming or downloading, see Tips and Tricks for Encoding Long Format Content with Windows Media Encoder (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/enclfc.asp) on the Microsoft Web site.

·       To learn more about the ASF format, download the ASF format specification from the ASF Specification page (http://www.microsoft.com/windows/windowsmedia/format/asfspec.aspx) on the Microsoft Web site. 

·       To obtain more information about these technologies, or to request a license, visit the Windows Media Licensing Form page (http://wmlicense.smdisp.net/licenserequest/).

 

 

责任编辑:lmtwadmin

分享到:
版权声明:凡注明来源“流媒体网”的文章,版权均属流媒体网所有,转载需注明出处。非本站出处的文章为转载,观点供业内参考,不代表本站观点。文中图片均来源于网络收集整理,仅供学习交流,版权归原作者所有。如涉及侵权,请及时联系我们删除!