Ask a Question related to ASP.NET Security, Design and Development.
-
wgo #1
Two Web Services using same NetworkCredential?
Hi,
I've been trying to figure this out all day and thought someone here might
be able to help.
I have a Windows form app that's using windows basic authentication to
access two different web services. Each web service uses a different
username and password. When I access the first web service everything is
fine, but when I access the second web service it's using the username and
password from the first web service.
I'm making an instance of NetworkCredential, assigning the correct username
and password and then assigning it to the web service proxy before making
each call.
If I switch the order of the calls the first always works and the second
fails because it has the username and password of the first one.
I'm verifying the username received by the web service by using
User.Identity.Name() and Thread.CurrentPrincipal.Identity.Name in the web
service. Both web services are running on the same server.
Does anyone know what's going on here?
Thanks in advance.
wgo Guest
-
using System.Net.NetworkCredential class
I am using NUnitASP and I have run into problem "faking" user credentials. In my ASP.Net/C# application, I have turned off anonymous access to the... -
Trying to pass NetworkCredential to WebService
Hello, I am running W2k3, Visual Studio 2003, Framework version 1.1.4322. I have one simple asp.net web service and one simple asp.net web app.... -
Extract NetworkCredential from WindowsIdentity
I'm using the Windows Integrated Authentication scheme for my web apps and web services. When my web applications make calls to the web services I... -
How to do System.Net.NetworkCredential for ASPX Pages
Hi, I have two created Websites: WSA – With only Integrated Authentication turn on WSB – With Anonymous Access and Integrated Authentication... -
Integrated windows authentication and NetworkCredential
Hi, I have my asp.net webpage configured to use the integrated windows authentication in IIS. I need to use NetworkCredential object to get...



Reply With Quote

