Hi,
>>
Here's what I've found so far:
I created a small Web Service project using the standard "Hello World" Example method.
Under the IIS Console Mgr I left Authorization and Authentication as is.
I right-clicked specifically on the asmx file that had the "Hello World" method and set the file security to Windows Authentication ONLY.
I then created another project with a single page aspx that created System.Net.NetworkCreditial(User, Pass, Domain)
I then set the WebService.Creditials property member to the Network Creditial Object
and viola! It worked.
>>
But you're just setting the credentials for the web service to a known identity (and in that situation the IIS Security settings are irrelevant).
What I'm trying to do is use the Identity passed to the web page by IIS (System.Threading.Thread.CurrentPrincipal ? ) to set the credentials for the WS proxy.
Regards,
Viv
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement