Ask a Question related to ASP.NET Security, Design and Development.
-
sorpor #1
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 access
to a webservice and I want to retrieve the authenticated user information to
create it so user doesn't have to re-enter password. How can I do that?
Thanks a lot!
-sorpor
sorpor Guest
-
CFSchedule with Integrated Windows Authentication
I'm trying to schedule a task to run in CFSchedule ... when I allow anonymous access it runs fine, but when I force Integrated Windows... -
Integrated Windows Authentication, ASP.NET and FoxPro
Hello, Since it is the first time I'm posting in these groups, I believe a (short) introduction of myself would not be a bad thing. I am... -
.NET, Integrated Windows Authentication, and more
First of all, with identity impersonate = true, I still get this blasted error: Exception Details: System.Data.SqlClient.SqlException: Login failed... -
integrated windows authentication - web services
I have a performance question. I have a web service in a machine (not in the a domain at all) and the virtual directory is setup for integrated... -
integrated Windows authentication
Firstly, I'm running IIS 6.0 on Windows SErver 2003 that is also a DC. I have an asp page (default.asp) I am trying to access as my hom page for... -
Paul Glavich [MVP - ASP.NET] #2
Re: Integrated windows authentication and NetworkCredential
This sounds like you want to pass an already authenticated user on your
server to another server. You cannot easily do this (its called delegation)
without specifically enabling this for the specific user account to be
delegated. Note that this only applies to Windows Integrated auth (as this
"limitation" is actually a security feature and the scenario you describe is
termed a "double hop" issue with security credentials.
Basic auth does not ehibit this behaviour as the security credentials are
embedded as part of the Http header and so are easily extracted and passed
on.
HTH
--
- Paul Glavich
Microsoft MVP - ASP.NET
"sorpor" <anonymous@discussions.microsoft.com> wrote in message
news:uzui#UxLEHA.2500@TK2MSFTNGP12.phx.gbl...access> Hi,
>
> I have my asp.net webpage configured to use the integrated windows
> authentication in IIS. I need to use NetworkCredential object to getto> to a webservice and I want to retrieve the authenticated user information> create it so user doesn't have to re-enter password. How can I do that?
>
> Thanks a lot!
> -sorpor
>
>
Paul Glavich [MVP - ASP.NET] Guest
-
Joe Kaplan \(MVP - ADSI\) #3
Re: Integrated windows authentication and NetworkCredential
That said, if delegation is properly configured AND you are impersonating
the user who authenticated, you can get a valid credential object via:
System.Net.CredentialCache.DefaultCredentials
Delegating user's credentials is one of the most often asked about, hardest
to get working things that people try to do. You should find lots of
answers via Google searches.
Joe K.
"Paul Glavich [MVP - ASP.NET]" <glav@aspalliance.com-NOSPAM> wrote in
message news:OxWQ9HEMEHA.2584@TK2MSFTNGP12.phx.gbl...delegation)> This sounds like you want to pass an already authenticated user on your
> server to another server. You cannot easily do this (its calledis> without specifically enabling this for the specific user account to be
> delegated. Note that this only applies to Windows Integrated auth (as this
> "limitation" is actually a security feature and the scenario you describeinformation> termed a "double hop" issue with security credentials.
>
> Basic auth does not ehibit this behaviour as the security credentials are
> embedded as part of the Http header and so are easily extracted and passed
> on.
>
> HTH
>
> --
> - Paul Glavich
> Microsoft MVP - ASP.NET
>
>
> "sorpor" <anonymous@discussions.microsoft.com> wrote in message
> news:uzui#UxLEHA.2500@TK2MSFTNGP12.phx.gbl...> access> > Hi,
> >
> > I have my asp.net webpage configured to use the integrated windows
> > authentication in IIS. I need to use NetworkCredential object to get> > to a webservice and I want to retrieve the authenticated user> to>> > create it so user doesn't have to re-enter password. How can I do that?
> >
> > Thanks a lot!
> > -sorpor
> >
> >
>
Joe Kaplan \(MVP - ADSI\) Guest
-
Paul Glavich [MVP - ASP.NET] #4
Re: Integrated windows authentication and NetworkCredential
I should also point out (thanks to the clarification by Ken Shafer), that if
Kerberos is used, then delegation is possible, however if NTLM is used, then
delegation is not possible. This is a limitation with the NTLM protocol.
--
- Paul Glavich
Microsoft MVP - ASP.NET
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@removethis.accenture.com> wrote
in message news:uPBzhyFMEHA.3348@TK2MSFTNGP09.phx.gbl...hardest> That said, if delegation is properly configured AND you are impersonating
> the user who authenticated, you can get a valid credential object via:
>
> System.Net.CredentialCache.DefaultCredentials
>
> Delegating user's credentials is one of the most often asked about,this> to get working things that people try to do. You should find lots of
> answers via Google searches.
>
> Joe K.
>
> "Paul Glavich [MVP - ASP.NET]" <glav@aspalliance.com-NOSPAM> wrote in
> message news:OxWQ9HEMEHA.2584@TK2MSFTNGP12.phx.gbl...> delegation)> > This sounds like you want to pass an already authenticated user on your
> > server to another server. You cannot easily do this (its called> > without specifically enabling this for the specific user account to be
> > delegated. Note that this only applies to Windows Integrated auth (asdescribe> > "limitation" is actually a security feature and the scenario youare> is> > termed a "double hop" issue with security credentials.
> >
> > Basic auth does not ehibit this behaviour as the security credentialspassed> > embedded as part of the Http header and so are easily extracted andthat?> information> > on.
> >
> > HTH
> >
> > --
> > - Paul Glavich
> > Microsoft MVP - ASP.NET
> >
> >
> > "sorpor" <anonymous@discussions.microsoft.com> wrote in message
> > news:uzui#UxLEHA.2500@TK2MSFTNGP12.phx.gbl...> > access> > > Hi,
> > >
> > > I have my asp.net webpage configured to use the integrated windows
> > > authentication in IIS. I need to use NetworkCredential object to get> > > to a webservice and I want to retrieve the authenticated user> > to> > > create it so user doesn't have to re-enter password. How can I do>> >> > >
> > > Thanks a lot!
> > > -sorpor
> > >
> > >
> >
>
Paul Glavich [MVP - ASP.NET] Guest



Reply With Quote

