How to authenticate a Windows Mobile client calling web services in a Web App
Posted
by cdonner
on Stack Overflow
See other posts from Stack Overflow
or by cdonner
Published on 2010-03-21T01:41:27Z
Indexed on
2010/03/21
1:51 UTC
Read the original article
Hit count: 641
I have a fairly complex business application written in ASP.NET that is deployed on a hosted server. The site uses Forms Authentication, and there are about a dozen different roles defined. Employees and customers are both users of the application.
Now I have the requirement to develop a Windows Mobile client for the application that allows a very specialized set of tasks to be performed from a device, as opposed to a browser on a laptop. The client wants to increase productivity with this measure. Only employees will use this application.
I feel that it would make sense to re-use the security infrastructure that is already in place. The client does not need offline capability.
My thought is to deploy a set of web services to a folder of the existing site that only the new role "web service" has access to, and to use Forms Authentication (from a Windows Mobile 5/.Net 3.5 client).
Can I do that, is that a good idea, and are there any code examples/references that you can point me to?
© Stack Overflow or respective owner