I have a windows app that I am writting for some field reps. This app should
download and upload specific information to a web service, and cache the
information on the local computer when they are not online.
I have this part working perfectly however, I would really like to have some
sort of authentication to access or upload the data.
The users are not logged in to a domain so no authentication token is
available. All the information I have been able to find for web services and
authentication have involved web apps as opposed to windows apps. Anyone
have any sort of information or a good source that I can find an example of
how to implement some sort of authentication?
Thanks,
Jutsin
Joubert Nel - 03 Nov 2005 21:51 GMT
Hello Justin,
Web Services implemented using ASP.NET only support Windows and SOAP
(custom) authentication, not Forms.
See
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conSecuringASPNETWebServices.asp
I am working on a Windows Forms app also and am consuming Web Services I
wrote and host in ASP.NET, however, I use Windows Integrated authentication.
Regards
Joubert
> I have a windows app that I am writting for some field reps. This app
> should download and upload specific information to a web service, and
[quoted text clipped - 11 lines]
> Thanks,
> Jutsin
Adrian Heath - 11 Nov 2005 10:46 GMT
Your best bet for implementing non-windows authentication is to use the WSE
toolkit from microsoft and implement a custom AuthenticationManager that can
check the supplied credentials
A good article on this can be found here
http://www.codeproject.com/webservices/WS-Security.asp
There are no problems using WSE with a Windows Forms client.
Hope this helps
Adrian Heath
> I have a windows app that I am writting for some field reps. This app
> should download and upload specific information to a web service, and
[quoted text clipped - 11 lines]
> Thanks,
> Jutsin