473,320 Members | 1,722 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,320 software developers and data experts.

XML Webservice authentication

GMG
Is it possible to use FormAuthentication or do I have to manage my own
cookies and if so a sample/URL would be greatly appreciated.
Mar 1 '06 #1
2 970
Hi,

I would say that it depends what you are planning to do a and who is goinf
to acess your web service and from where.

In other words do you planned to published your web service or does your web
service is part of your asp application.

The most secure would be to use security feature of IIS and use Windows
Authentication. Cookies are not secure and are mainly used to retain user
information except sensitive data.

If you want to provide FromAuthentication then you could keep in cookies a
unique GUI corresponding to the user and then refer to that GUI from a
database where you will extract information.

hope it helps
regards
serge

"GMG" wrote:
Is it possible to use FormAuthentication or do I have to manage my own
cookies and if so a sample/URL would be greatly appreciated.

Mar 1 '06 #2
One of the key features FormsAuthentication offers is automatic
redirect for non-logged in users to a login page. As I'm sure you'll
appreciate this makes no sense in the context of a web service.

Most web services don't use cookies in this way, they simply request
the username/password with each request. You can even use WSE
(http://msdn.microsoft.com/webservices/building/wse/) to help you do
this in an industry standard way (WS-Security standard).

If you have any questions about any of this - just shout!

Josh
http://www.thejoyofcode.com/

Mar 2 '06 #3

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

Similar topics

2
by: PocketDeveloper | last post by:
I am an experienced developer...but a novice at creating web services, so please have mercy on me! Here is my question: I developed a fairly simple Webservice that returns a table from SQL...
2
by: Russell Mangel | last post by:
Hi, How can I set permissions, so my webservice will run, without entering my name and password in the Web.Config file? I have created a WebService, and then added a Web reference to a Windows...
0
by: Det | last post by:
Hi there I am somewhat stuck with calling a WebService from out of a VB App. My Goal: - Get a WebService invoked under MS - Access 2002, not using the MS-SOAP-Toolkit but the .net - Framework ...
13
by: ALI-R | last post by:
I know how to authenticate to a webservice using either of these ways(Assuming that rService represents the webservice): 1) rService.Credentials = new...
1
by: Eric | last post by:
I need to call a function in a WebService from a VC++ 7.1 project. The WebService requires NTLM authentication and should be the user of the calling program. How should this be done? I have...
3
by: ad | last post by:
I add a WebService (*.asmx) in a WebApplication. My web application use Form authentication. But when I open the .asmx in IE, it result in an error: No htmlform ! can't set ...
4
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy =...
2
by: =?Utf-8?B?TGFycnlLdXBlcm1hbg==?= | last post by:
Our WebDev team seems to have found a problem that exposes a bug in .NET 2.0. This problem can be shown when trying to access a WebService using SSL and through a proxy server after using the...
10
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
2
by: Mike Endys | last post by:
Hi all, have problem to use login to the web service. Im thinking about the web service that provides datas and files to the WinForm Client. I want the client log-in to the application... here...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
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: 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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.