Windows Integrated Authentication

If you wish to use Windows Integrated Authentication, you are assuming that the user who will be connecting to the Web server has a domain account with that Web server and will supply the correct credentials to that server. If the correct credentials are not supplied, the user will be denied access to the Web Service. Credentials can only be supplied through creating an instance of the NetworkCredential class in the .NET Framework and supplying a user ID, password, and domain name.

You will now create a very simple Web Service that will be used to test our integrated security. This Web Service will simply return a string and the name of the process under which this service is running. Follow these steps:

1. ...

Get ASP.NET Developer's JumpStart 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.