Re: Impersonation problem.
From: Brock Allen (ballen_at_NOSPAMdevelop.com)
Date: 03/29/05
- Next message: Arif Çimen: "Web Config Error What may be the problem?"
- Previous message: Brock Allen: "Re: Creation of ASPNET user in Active Directory 203"
- In reply to: szhang: "Impersonation problem."
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Impersonation problem."
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Impersonation problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 29 Mar 2005 09:46:54 -0800
It sounds like you have the "network hop" authentication issue. If you're
authenticating from machine A to machine B (without passing a password across
the network, so think SSPI), then machine B tries to use those same credentials
to go to machine C, then it will fail unless you've configured your used
in AD to have the password stored with reversible encryption. Most security
experts think that's ridiculous as that's not secure. Thus you need to design
your app around this inherent problem.
-Brock
DevelopMentor
http://staff.develop.com/ballen
> When I enable impersonation in web.config and show User identity in
> .aspx page, it is the user IIS authenticates. But when I try to access
> Sql server, I get an access denied error message. It looks like
> asp.net does not impersonate it at sql server side. I can impersonate
> a specific user in web.config without problem. Is this a bug or by
> design? I need to give users permissions based on their Windows login
> and I have a lot of users, but they are not going to access these web
> pages at the same time.
>
- Next message: Arif Çimen: "Web Config Error What may be the problem?"
- Previous message: Brock Allen: "Re: Creation of ASPNET user in Active Directory 203"
- In reply to: szhang: "Impersonation problem."
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Impersonation problem."
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Impersonation problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|