473,324 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Web Services Authentication



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
Nov 23 '05 #1
2 2821
Hello Justin,

Web Services implemented using ASP.NET only support Windows and SOAP
(custom) authentication, not Forms.

See
http://msdn.microsoft.com/library/de...ebServices.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

"Justin Lazanowski" <ju****@nospam.southeastmilk.org> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...


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

Nov 23 '05 #2
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

"Justin Lazanowski" <ju****@nospam.southeastmilk.org> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...


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

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: andrewdmason | last post by:
Hello, My boss wants me to create a front end webpage for our Reporting Services reports that customers can log onto through a webform. I'm a PHP programmer, so I'd rather do this site and the...
13
by: david | last post by:
I met the security problem. I have developed the form based security for ASP.NET appliation. However, it seems that my window based client for my Web services application can not access to the...
1
by: Markus Brandy | last post by:
Hi, I have to use a Java web service that requires HTTP authentication, so I have to send username and password in the HTTP headers. My C# application has a client implementation that looks...
0
by: nospamthanks | last post by:
Hi, I have an existing web site, which is configured to use forms authentication. I'd like to expose a web service from this site to provide admin services for the site, and expose some server...
6
by: David++ | last post by:
Hi folks, So I have implemented a Web service which provides several Web Methods. Before the client can use the WebMethods they must first be authenticated and authorized i.e. they login, obtain...
1
by: bugnthecode | last post by:
Hi, I am trying to put together a small app that uses one of my company's web service. Originally I interfaced with this web service using java, and have the example code. I believe the web...
3
by: Smokey Grindle | last post by:
I want to make a security system in my webservice similar to the one that reporting services uses it has a logon user and logoff user web method... when you log on it logs you into a session and...
3
by: Sylvie | last post by:
My Windows Application has two forms, one form contains a grid (lets say Stock Listing), and the other is a form of one stock, contains some edit boxes for one stock's fields.. Is it possible to...
0
by: tkarthi06 | last post by:
Hi, Can any one please tell how to pass Web Services Credentials(Web Services Username and Password) using WCF. Inorder to Communicate with Web Services i have to provide username and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.