Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2005

Tip: Looking for answers? Try searching our database.

Web Services Authentication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Justin Lazanowski - 01 Nov 2005 14:19 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.