Re: best way implement web service with authentication.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Jan 30, 7:38 pm, Mark Nelson <MarkNel...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Modi,

Considering your scenario, your design looks fine.
But it's a better idea to encrypt and pass the SOAP headers.

--
Thanks & Regards,
Mark Nelson

"modi" wrote:
hi,
We guys have implement a webservice wherein we authenticate the user
by passing the same in soap headers. once is the user is authenticated
we flag the user as authenticated in a session variable. My doubt is,
is it the right way of implementing this. We are using inproc to store
the session. And i know this is not the right way to store the session.

Our requirements are:
1. We want the webservice to be universally consumed by any client(i.e
the client may be written java etc).
2. We dont want our clients to break their heads in configuring the
soap headers, encrypt those and pass it.
2. Best way to authenticate the client.

This question might seem obvious to many....may be i am
ignorant in this issue.
Please help!!
regards
modi


Hi,

To achieve good security, you have to compromise and to adding the
security in header is pretty standard way to implement and this is why
we have SOAP standards.

and yes, if your service is going to be accessed universally then I
would suggest to consider SSL as well.

Cheers,
Amer

.



Relevant Pages

  • Re: WSE 3: SOAP faults not being returned correctly from service.
    ... occurs when the caller doesn't sign or encrypt the SOAP message, ... fault that the sender *should* receive is: ... WSE should only use the client token to encrypt the response message (Using ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • RE: WSE_SmalQuestion
    ... Imagine the front door to my house. ... you will encrypt the message ... The SOAP message parts specified in the child element of the element are ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Python, SOAP & SSL
    ... have to comunicate through SOAP. ... comunication we use SSL. ... package has various SOAP servers defined. ... expecify CA or ist certificate to authenticate itself to the SOAPServer. ...
    (comp.lang.python)
  • RE: Problem with WCF adapter and SOAP headers in BizTalk 2006 R2
    ... You can add custom SOAP headers to the outbound message by setting the ... be avoided to set the standard SOAP headers. ... something must be done differently from using the standard SOAP adapter. ...
    (microsoft.public.biztalk.general)
  • Advanced Soap communication with traditional ASP
    ... I've used SOAP to communicate before, and it has always been straightforward: ... Set Client = Server.CreateObject ... sure if it is even possible to connect to them using traditional asp. ... Authenticate req = new Authenticate; ...
    (microsoft.public.inetserver.asp.components)