Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Configuring an HTTP server for DRM protected content

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia E71
Platform(s): S60 3rd Edition, FP1
Created: User:TechnicalWriter2 (23 Jun 2009)
Last edited: hamishwillee (14 Jun 2012)


Using a HTTP server, it is possible to host DRM protected content. Certain rules have to be followed before hosting a DRM protected file.


Let us take as an example a publicly available HTTPD Apache server. Suppose a DRM protected file needs to be hosted on the server. When downloaded on a device, the file should be registered as a DRM file and forwarding of the file should be forbidden. After installing the Apache HTTPD server, there is a configuration file called httpd.conf in the directory <Apache_Path>\conf. This file needs to be edited in the <Directory> section where the root directory of the document is mentioned. Within the body, an option called Addtype needs to be used to indicate that all .dm file extensions have the MIME type application/vnd.oma.drm.message.

  <Directory "<Apache_Path>\docs_root">
#Other settings
#"AddType" option is shown below for receiving .dm files with DRM mime type
AddType application/vnd.oma.drm.message dm

The above configuration script ensures that any .dm file placed in the docs_root directory of the server, when downloaded, comes with the correct MIME type of application/vnd.oma.drm.message instead of a plain text MIME type (text\plain).

Note that if this piece of script is not added to the configuration, the .dm files are downloaded on the device as plain text files.

Once the DRM file is downloaded, the content present in the file is extracted and forward-locked.

This page was last modified on 14 June 2012, at 03:51.
35 page views in the last 30 days.