Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Mobile /

How to protect Flash Lite content with OMA DRM 1.0

by Alessandro Pace

Alessandro Pace
  • biskero.org

Content

  • OMA DRM
  • Flash Lite content and DRM
  • Tools to apply OMA DRM 1.0 to Flash Lite content
  • Applying OMA DRM 1.0 Forward Lock to Flash Lite content
  • Testing OMA DRM 1.0 Forward Lock Flash Lite protected content

Created

4 February 2008

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
DRM Flash Lite mobile security video

Requirements

Additional requirement

Nokia Multimedia Internet Toolkit 4.1

User level

Advanced

Required products

  • Flash Professional (Download trial)

Sample files

  • flashlite_drm_samples.zip (11 KB)

Developers, content providers, and operators are all involved in protecting mobile content. Digital Right Management (DRM) is an important issue in the mobile world and it is a complex environment to work with. Open Mobile Alliance DRM (OMA DRM) can be used to protect Flash Lite content. OMA DRM has two specifications 1.0 and 2.0. Both DRM solve the same problem – protecting content. I will briefly explain the differences in OMA DRM 1.0 and OMA DRM 2.0 and how to apply OMA DRM 1.0 Forward Lock to Flash Lite content. Note that this is not an easy topic and it is important to understand all entities involved in the process of protecting content.

OMA DRM

But first a question: Why do would you want to apply DRM to Flash Lite content?

The idea is to increase protection of your Flash Lite files (SWF)  and your intellectual property. Also you might find that DRM is a requirement for operators/carriers and aggregators to distribute your Flash Lite content. So it is important to understand how to use DRM and what options are available for Flash Lite content.

The Open Mobile Alliance is an international body that creates standards on which mobile handsets manufactures (OEM), operators and companies can base their solutions and be interoperable. An OMA DRM protected piece of mobile content that is compliant with these specifications will operate correctly on different mobile phones from different OEM. This is a very important concept since no matter which tool you use for protecting your content, it will work on handsets from different OEM.

OMA DRM 1.0 is defined by the following specification. The specification defines three different ways to protect content:

  • Forward Lock – locks content to the individual handsets.
  • Combined Delivery – locks content to the handsets. Playback rights can be applied to the content.
  • Separate Delivery – playback rights can be applied and allows super distribution.

For more details of the different OMA DRM 1.0 protection methods and distribution you can read the following document from Forum Nokia:

  • DRM Related documents
  • DRM Developer's Guide for Nokia Devices v3.0

The following MIME types are defined for OMA DRM, you will need to define them into your Web Server so that a OMA DRM protected Flash Lite file will be recognized by the mobile phone upon download.

application/vnd.oma.drm.rights+xml .dr application/vnd.oma.drm.rights+wbxml .drc application/vnd.oma.drm.content .dcf application/vnd.oma.drm.message .dm application/vnd.oma.drm.dd+xml .dd

Note: the "application/vnd.oma.drm.message" is the only one required for Forward Lock.

Refer to the documentation for more details.

OMA DRM 2.0 is defined by the specification on the OMA web site. It applies the same concepts of OMA DRM 1.0 but it offers a higher degree of protection (Separate Delivery method) by introducing stronger encryption methods and also offers protection methods for streaming media such as audio and video. OMA DRM 2.0 introduces other MIME types.

In this article I will concentrate on OMA DRM 1.0 and in particular on the Forward Lock protection method. This protection method is the most common on handsets and the simplest to implement. It is important to understand that not all protection methods are supported by the handsets for OMA DRM.

I will go through an example using the following scenario:

  1. Apply OMA DRM 1.0 Forward Lock to a Flash Lite file (.swf)
  2. Upload the Forward Lock file (.dm) to a mobile web page
  3. Download the Forward Lock file to a mobile phone
  4. Test the Forward Lock file by executing it and trying to send the file to another handset.

Flash Lite content and DRM

The most important aspect to understand about protecting content using OMA DRM is to have a clear definition of which type of content can be protected. Here is how Symbian defines active and passive content:

"Symbian Signed defines Passive Content (PC) as any SIS file that does not contain any executable (active) components." (Source)

The Flash Lite player is the active component and the Flash Lite file (SWF) is the passive content. This means that Flash Lite files (SWF) are considered, from a DRM point of view, the equivalent to an image file (.jpg, .gif, etc..), sound file (.acc, .mp3, etc..) or a video file (.3gp, .mp4, etc..). We can apply OMA DRM 1.0 protection to Flash Lite content.

Tools to apply OMA DRM 1.0 to Flash Lite content

Since OMA DRM 1.0 is a standard, it is supported by all major mobile handset manufacturers. They provide tools to apply OMA DRM 1.0 to selected content. Here is a list of tools from different manufacturers:

  • Nokia: Nokia Multimedia Internet Toolkit 4.1 (Windows only)
  • Sony Ericsson: DRM Packager (Windows and MAC OSX)
  • Motorola: Moto DRM toolkit (Windows)

You can use any of these tools to apply OMA DRM 1.0 to Flash Lite content. In this article I will use the Nokia Multimedia Internet Toolkit 4.1 since it is integrated with all Nokia Software Development Kits (SDKs) both for Series 60 and Series 40 platforms. It allows you to test the protected Flash Lite content directly in the SDKs. You can download the NMIT 4.1 tool and the Nokia S60 or S40 SDK from Forum Nokia.

Applying OMA DRM 1.0 Forward Lock to Flash Lite content

I will use the NMIT 4.1 tool to apply Forward Lock DRM to a Flash Lite file with a step by step process. I will not go into details for each option but you can refer to the NMIT 4.1 User Guide to learn more about all the capabilities and features of the tool.

Step 1 (see Figure 1)

  • Start the NMIT 4.1 tool. If you have the Nokia S60 and S40 SDK installed you will see the following screen.
Nokia Multimedia Internet Toolkit 4.1 start-up screen
Figure 1. Nokia Multimedia Internet Toolkit 4.1 start-up screen

Step 2 (see Figure 2)

  1. Select File > New. The Available Content Types  screen will open
  2. Select the Deployment tab
  3. Select the DRM Message icon
  4. Press OK
NMIT 4.1 – Deployment screen
Figure 2. NMIT 4.1 – Deployment screen

Step 3 (see Figure 3)

Figure 3 shows a screen where I will define the type of DRM to apply to the Flash Lite content. There are four sections on this screen.

  • The first section, "1. Select Message Type" allows you to select which type of OMA DRM 1.0 to apply to the content. I use Forward Lock so no changes are needed since this is the default.
  • The second section, "2. Load Media Content", allows you to load the file that you want to protect. In my case it is a Flash Lite file (SWF). Also leave the "Content-Transfer-Encoding" set to binary.
  • The third section, "3. Edit Header", allows you to define the headers. Since Flash Lite content is now automatically recognized by the tool, I will enter the application/x-shockwave-flash information into the Content-Type line.
  • The fourth section, "4. Specify Rights" is not used for Forward Lock DRM. In case you use another DRM protection method, you will have several options available. Refer to the tool manual for more information.
DRM definition window.
Figure 3. DRM definition window.

Step 4 (see Figure 4)

  1. Load your Flash Lite file using the "Load Content" button from the section "2. Load Media Content". I loaded the testdrm.swf. You can find this file in the Sample files linked from the beginning of this article.
  2. Add the application/x-shockwave-flash information into the Content-Type line in the "3. Edit Headers" section. This step is necessary since the tool does not recognize the Flash file format.
  3. Save the file. I saved as testdrm.dm.

At this point I have a so-called DRM message file ready for deployment. I will need to upload it to my web server for download and installation.

Apply OMA DRM 1.0 Forward Lock to the testdrm.swf
Figure 4. Apply OMA DRM 1.0 Forward Lock to the testdrm.swf

Important Note: The protection will only be applied once you download the .dm file from the mobile site to your phone. This is only one of the delivery methods used by OMA DRM. For other delivery methods please consult the documentation.

Testing OMA DRM 1.0 Forward Lock Flash Lite protected content

I created a simple mobile web page with a link to the testdrm.dm file. You can use Adobe Dreamweaver CS3 to create a mobile web page. Here is a step by step process:

  1. Upload the files, index.html and testdrm.dm to your web server.
  2. Browse to the mobile web page using the browser of your mobile phone.
  3. Select the link to the testdrm.dm file, Figure 5.
Select testdrm.dm
Figure 5. Select testdrm.dm
  1. Select the location where you want to save the file (see Figure 6).
Select location
Figure 6. Select location
  1. At this point the download of the file starts (see Figure 7).
Downloaded testdrm.dm
Figure 7. Downloaded testdrm.dm
  1. Save the file to the phone (see Figure 8).
testdrm.dcf saved
Figure 8. testdrm.dcf saved
  1. On the phone go to the location where the file was saved. On Nokia S60 devices, this is usually the Other directory. You can just select the Flash Lite player icon and you will see the testdrm.dcf file (see Figure 9).
testdrm.dcf in the Flash Lite
Figure 9. testdrm.dcf in the Flash Lite

The yellow key icon indicates that the file is DRM protected.

You can now execute the Flash Lite content (see Figure 10).

Test testdrm.dm on the phone
Figure 10. Test testdrm.dm on the phone

To test that the file is protected with Forward Lock DRM, try to send the file via MMS or Bluetooth to another handsets (see Figure 11).

Send the file to another handset
Figure 11. Send the file to another handset

You will see the following message "unable to send protected object" (see Figure 12).

The "unable to send protected object" message
Figure 12. The "unable to send protected object" message

If you do not have a Web Server to test this process you can just point your mobile browser to the following URL:

http://www.biskero.org/adobe/drm/

Or if you have a mobile phone with a 2D bar code reader just scan the following bar code:

Bar code generated with Nokia Mobile Code

Figure 13. Bar code generated with Nokia Mobile Code.

Where to Go from Here

This is a very simple process to protect your Flash Lite content by applying OMA DRM 1.0 Forward Lock. Since OMA DRM is interoperable, your content will work across many different Flash Lite-enabled mobile phones. It is important to understand that there are different protection methods and delivery processes for DRM protected content. A diligent reading of the documentation is very important to understand all the aspects of protecting and distributing your Flash Lite content.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

More Like This

  • How to play FLV videos from YouTube using Flash Lite 3
  • Understanding video formats and controlling video volume in Flash Lite 3.x
  • Creating video content for Flash Lite mobile devices
  • HTC Hero: The first Android device with Flash
  • Flash Lite 3 training video
  • Designing and developing Flash games for the Sony PSP
  • Remote mobile device testing with DeviceAnywhere
  • Simple mobile video encoding recommendations for Flash Player and AIR
  • Taking your brand mobile
  • Developing games for Nokia S60 Touch devices

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement