Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Tagged as

Application Protection Details for Marketplace for Windows Mobile

, 26 Mar 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
When the Windows Marketplace for Mobile was first announced not much was known about the security model that it was going to used.  As a quick review I'll refer back to something that I posted a few months ago in this blog entry."Applications distributed through the Windows Mobile Market Place

When the Windows Marketplace for Mobile was first announced, not much was known about the security model that it was going to use. As a quick review, I'll refer back to something that I posted a few months ago in another blog entry.

"Applications distributed through the Windows Mobile Market Place are tied to a Live ID Account. This should help protect against piracy while at the same time minimizing the amount of inconvenience that a user experiences from software protection."

That didn't really tell us how it was working, it is more of an expression of intent. Today Microsoft released another document that provides more detailed information on their copy protection scheme and the options that a developer has. The complete paper is 12 pages and you can find it here. I'll try to summarize what you'll find in it.

To summarize, there are two levels of protection that an application can have, Standard and Advanced.

For the Standard protection level, there's nothing that you need to do to your cab. When the application is purchased, the phone downloads the cab, installs it, and deletes the cab to ensure it is not around to be copied. If the purchaser pays for their application on the Web, the cab file is not transferred to his or her computer. Instead the purchaser is instructed to start up the Marketplace application on his or her phone so that the download can begin. If you'd like a stronger form of protection, then you can use the Advanced security option.

For the Advanced option, there are code changes that you will need to make to your application. The application will be bound to a license key and the lines of code that you add to your application checks for the presence of the device-bound license files. For this level of protection, you start the application submission process and enter your application data in the developer's portal and get back a few lines of code to be added to your application. You can then compile your application and prepare it for being submitted. When a user purchases the device, both the application and a license key are delivered to the device. The lines of code that were received from the developer's portal will ensure that a valid license is present and allows the developer to decide on a course of action if the key is not present. The validation all takes place on the phone so no external Internet connection is needed.

For more details, see the paper at the link provided above. At the time of this writing, the feature is not yet available in the developers' portal, so I cannot yet review it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Joel Ivory Johnson
Software Developer Razorfish
United States United States
I attended Southern Polytechnic State University and earned a Bachelors of Science in Computer Science and later returned to earn a Masters of Science in Software Engineering.
 
For the past few years I've been providing solutions to clients using Microsoft technologies for web and Windows applications.
 
While most of my CodeProject.com articles are centered around Windows Phone it is only one of the areas in which I work and one of my interests. I also have interest in mobile development on Android and iPhone. Professionally I work with several Microsoft technologies including SQL Server technologies, Silverlight/WPF, ASP.Net and others. My recreational development interest are centered around Artificial Inteligence especially in the area of machine vision.
 
Twitter:@J2iNet
Follow on   Twitter   LinkedIn

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 26 Mar 2010
Article Copyright 2009 by Joel Ivory Johnson
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid