Securing XML Web Services

Applications you write with the .NET Compact Framework that access XML Web services do so over HTTP protocols. The mechanisms used for Basic Authentication are actually a part of HTTP and not vendor-specific, so you can authenticate Web service clients using Basic Authentication whether the server is a Windows server running IIS or a server running other Web server software, such as Apache. You should use SSL to encrypt data in transit and ensure that it cannot be intercepted. If your application operates over an intranet and it accesses a Web service on a Windows server with IIS, you also have the option of using Integrated Windows Authentication to identify the client device.

When you add a Web reference to your Visual ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.