Accessibility

Table of Contents

How to protect Flash Lite content with OMA DRM 1.0

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.