Search Wiki:
Resource Page Description
Security is an important topic for Windows Mobile Application Developers. Depending on the security configuration of particular devices, applications might need to be signed with either a privileged or unprivileged certificate. Besides signing applications, it is also important to understand the impact of executing applications on 1-tier and 2-tier secure devices. Especially on a 2-tier security configuration, unprivileged and unsigned applications have restricted access to device resources.

Security is an important topic for Windows Mobile Application Developers. Depending on the security configuration of particular devices, applications might need to be signed with either a privileged or unprivileged certificate. Besides signing applications, it is also important to understand the impact of executing applications on 1-tier and 2-tier secure devices. Especially on a 2-tier security configuration, unprivileged and unsigned applications have restricted access to device resources.

On this Code Gallery page you will find the accompanying sample code of the webcast titled 24 Hours of Windows Mobile Application Development: Windows Mobile Device Security.

The sample code consists of multiple projects, all applications and DLL’s with the same functionality but either signed privileged, signed unprivileged or unsigned. Using Device Emulator in combination with the Device Security Manager that can be found under the Tools menu of Visual Studio 2008, you can examine the consequences of executing privileged API’s, writing to protected areas of the system registry and the file system, and you can also find out if DLL’s will load in applications that are signed with particular certificates.

Note: In order to successfully build the entire solution, you must import the test certificates that are shipped with the Windows Mobile 6 SDK into Visual Studio 2008, as is shown in the webcast. The test certificates can be found in the following folder, assuming you have installed the Windows Mobile 6 SDK’s to their default location: C:\Program Files\Windows Mobile 6 SDK\Tools\Security\SDK Development Certificates
Last edited Jan 8 2009 at 2:36 PM  by Maarten_MVP, version 2
Comments
kiran wrote  Jul 24 2009 at 2:46 PM  
how can i download the sourcecode.

Updating...
Page view tracker