Re: XML Webservice authentication



aha -

so you have a web application which already does authentication using forms and on some pages you call a webservice..?


---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

The client will be Internet Explorer HTML pages using XML Data Island
technology, the only solution I can see is to use cookies, but I am
new to Web Services so may be there is a better techonology I can use.

"Dominick Baier [DevelopMentor]"
<dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4580be631978788c80c67f5b75f85@xxxxxxxxxxxxxxxxxxxxx

Hi,

what do you mean with "but will need to be authenticated via a
cookie" ??

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
ok, the purpose of this xml webservice is to only return simple XML
(not SOAP). It will serve the XML over the Internet to a third party
application which will make the requests, but will need to be
authenticated via a cookie. How can I achieve this in my Web Service
?

"Dominick Baier [DevelopMentor]"
<dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4580be631976f28c80b4d27c457a2@xxxxxxxxxxxxxxxxxxxxx

Hi,

formsauth is not supported - i wouldn't recommend using cookies -
the "web service way" would be to use a SOAP header. Thats
basically what

WS-Security

specifies. Have a look at WSE3 here:

http://msdn.microsoft.com/webservices/

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
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.



.



Relevant Pages

  • Re: ActiveDirectory authentication - more issues
    ... Dominick Baier - DevelopMentor ... I have ActiveDirectory authentication working but have a couple ... I do not get a WindowsIdentity but instead a FormsIdentity. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Mixed Mode (Forms & Windows) Authentication
    ... Dominick Baier, DevelopMentor ... page will convert the Windows credentials to a FormsAuth ... Windows authentication with the existing Forms authentication so ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Custom RoleProvider question -- saving roles
    ... Dominick Baier - DevelopMentor ... I set the authentication to use cookies in web.config as follows ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Roles Forms Authentication
    ... Dominick Baier - DevelopMentor ... dev computer but when I deploy the application and I sign it continues ... The Forms Authentication I am using is not ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: need help on cookies
    ... Dominick Baier - DevelopMentor ... I need some help on using cookies.. ... how to set secure flag on for cookies??? ...
    (microsoft.public.dotnet.framework.aspnet.security)