Ask a Question related to ASP.NET Security, Design and Development.
-
Mark D. #1
Passing user credentials from ASP.NET to Web Service
We have an ASP.NET application which needs to call Web Service on another
machine using end user's account. The configuration is as follows:
* Both machines are Windows Server 2003 and are in the same domain.
* Both ASP.NET application and Web Service virtual directories only allow
"Integrated Windows Authentication".
* In web.config of the ASP.NET application we have configured
"Authentication Mode" as "Windows" and "Identity Impersonate" set to "True"
* The ASP.NET application is configured to use Application Pool which runs
under "Local System" account.
* The computer account that runs the ASP.NET application is "Trusted for
delegation" in the Active Directory
* The user that accesses the ASP.NET application from a web browser does not
have the "Account is sensitive and cannot be delegated" option set in Active
Directory.
* In the ASP.NET application page which calls the Web Service we are setting
the mySvc.Credentials to System.Net.CredentialCache.DefaultCredentials before
calling the Web Service method as instructed by Q813834.
Yet, when we execute the page from the browser we are getting 401 - Access
denied coming back from the Web Service (the ASP.NET page itself executes
fine impersonating credentials of the user).
What can be the reason?
Thank you!
Mark
Mark D. Guest
-
Passing credentials to a web service using flash, notremoting?
Hi, Does anyone know if it is possible, and if so how to pass authentication credentials to a web service using the built in web service class in... -
Passing credentials across 2 webservice
I've 2 webservice. (webservice1, webservice2). and one winform.. The winform calls the webservice1 as follows and sends teh currentLogon BY USING... -
Passing credentials problem
I am at a loss. I have a web service which uses Windows Integrated Security. If I use the following code to call my web service: WServ wserv... -
Passing Credentials to a Web Service
Hi Al We have a web service (developed in C#). This web service is hosted in the Partners domain of Microsoft. A Windows Forms application is the... -
Passing security credentials to ASP from .net
Hi All Here's my situation. I have a ASP page which requires windows authentication. The page works fine when I access it from IE and I am able to...



Reply With Quote

