WebServices and Authentication

Hi there,

I’m developing a webservice for upload and download files, but due to security reasons I’ll have to authenticate the user to access directories/folders based on IIS FTP accounts. How can I perfome that

For now, I’m thinking about using SOAP Headers to transmit the user/password and create/set the user credential in the WebService. Is there another way to do that Where could I get some examples

Thanks in advanced,

Otavio




Answer this question

WebServices and Authentication

  • bchan

    If authentication is being conducted by IIS, you can populate the credential cache of your XML Web service client proxy. Otherwise, I would recommend leveraging WS-Security via WSE. You can find out more information from the MSDN Web Services site.
  • WebServices and Authentication