Setting a Security Policy Example

Send Feedback

To change the default security settings you must create a custom security policy document. In the document, you would add provisioning XML to specify the security policies and policy values for the Windows Mobile-based device, as shown in the following example. The name and value attributes specify the policy ID and value, respectively. For certain security policies, the value is a security role that you reference using a decimal value.

Note   If the provisioning document will be delivered in a CAB provisioning Format (.cpf) file, the file must be named _setup.xml.

Note   An XML provisioning document may not install on a Windows Mobile-based device if the .cab file containing the document is not signed. You must use the Microsoft Authenticode tools to sign .cab files. For information about Microsoft Authenticode tools, see the Authenticode documentation under "Security" in the MSDN library.

The following example shows how to disable Service Loading (SL) by changing from the default value to zero (0). For more information about this policy, see Security Policy Settings.

<wap-provisioningdoc>
   <characteristic type="SecurityPolicy">
      <parm name="4108" value="0"/>
   </characteristic>
</wap-provisioningdoc>

After you have created the custom security policy document use one of the delivery options described in Options for Delivering Provisioning XML Files to Windows Mobile-Based Devices.

See Also

SecurityPolicy Configuration Service Provider Examples for OMA Client Provisioning | Default Security Policy Settings for Windows Mobile-Based Devices

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.