Previous post: Widget Anatomy – Performance and battery life
This is part four of my Widget Anatomy series which which will explain the ins and outs of the Widget Framework that is shipping as part of Windows Mobile 6.5. In this installment I will discuss the Widget Framework’s security model..
It is true, Widgets are executed inside a sandbox, and because of this, there are bounded to a rather strict security policy but can be summarized as follows:
URI
Description
Example
SMS:
mailto:
callto:
tel:
http:, https:
Windows Mobile 6.5 restricts distribution of Widgets to trusted sources only. This means consumers will only be able to install widgets from the Marketplace and, on some cases, Mobile Operator stores directly. This restriction was implemented because we don’t currently support digital signature verification for widget files which prevents users from being able to verify the origins and authenticity of any given widget. This might seem a little restrictive but I believe it provides the right balance between security and flexibility, specially if you consider that there are ways to allow enthusiasts and developers to install widgets from non-trusted sources, as long as they acknowledge and understand the risks of doing so. Use your best judgment :).
That’s it for now, feel free to comment about any other security related questions that were not covered.
Next post: Widget Anatomy – Touch and D-Pad inputs, oh joy!