No Principal in compact framework?

E

enantiomer

I am researching the compact framework in order to port some of our
application functionality to a mobile device. Our application uses a
services base architecture with a service project and a common business
objects project.

My problem is that it seems as though the compact framework doesn't
support IPrincipal and IIdentity (or anything from the Principal
namespace for that matter). This is a problem because we were using an
IPrincipal to authenticate on each and every service method call.

Is what this comes down to is that we simply will be unable to use
services within the CF version of our application? Is the only option
to develop your own IPrincipal and IIdentity classes? How would this
affect the System.Thread.CurrentPrincipal value within our WinForms
project?

What is the recommended way of handling security within the CF? Any
advise would be helpful. Thanks,

Jonathan
 
S

Simon Hart

There is no security in Win CE.

What type of services are you using? If XML Web Services then you can turn
off anon-access and use NT Authentication if running under CF 2.0 (although
this is not per method call). If you are using remoting (or any kind of
sockets based api) hosted under anything other than IIS then your will need
to implement your own security.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top