Windows Mobile 5.0 Security Model FAQ

Certificates (SSL) Q: What is required to install a new certificate to the ROOT store?A: Adding ROOT certificates currently requires trusted code or manager access. On most Pocket PC devices this won’t be a problem, but some Smartphone devices are deployed in a restricted configuration where this will be a problem. Q: Okay, I have…

121

DPI-aware NetCF v1 apps

.NetCF 2.0 has great support for hi-dpi devices, but v1 does not have anything built in.  Luckily, it’s not that hard to add hi-dpi support to Forms-based apps.  Just add a call to DpiHelper.AdjustAllControls(this); to the end of your form’s constructor.  And if you do any manual drawing, you can use DpiHelper.Scale() to convert hard-coded…

5

JavaScript and C#

I was wondering if there would be any demand for a product that allowed you to call managed code from JavaScript.  It seems like it should be doable, using a technology like Mirror, and would allow you to rapidly create apps with a rich HTML UI and deploy them over the web.  However, you could…

13

Windows Mobile Application Execution Security Policies

There’s a good description of the trust levels in Windows CE at this MSDN page, so for this post I’ll discuss how the security policies in Windows Mobile 5 affect what trust level an application will get.Privileged Applications policy (or two-tier policy) (4123)If this policy is set to 0, applications can run untrusted or trusted,…

2

Of Anniversaries and Vacations

Forgive me this indulgence.  Today is my 12th Anniversary at Microsoft.  I actually started as an electrical engineer hired to build a super computer to do video on demand.  Strangely, the whole, “Microsoft builds a supercomputer” thing didn’t go very far.  In fact they canceled the project a few days after they hired me–before I…

4