Re: Howto refresh IIS 6 Application pool identity credential info
- From: wjzhang@xxxxxxxxxxxxxxxxxxxx ("WenJun Zhang[msft]")
- Date: Mon, 18 Feb 2008 03:34:06 GMT
Hi Peter,
What's the result if you change it to another user account instead of
invalid password? Will it still logon the previous account?
I think dynamically changing the application pool identity in web
application code is a good enough design. If your web application need to
access resource with special required privilege, impersontion is the
recommended approach. Other than saving the username password in
configuration file, you should consider directly implement impersonation in
your code. Please refer to "Impersonate the Authenticating User in Code" in
below article:
How to implement impersonation in an ASP.NET application
http://support.microsoft.com/kb/306158/en-us
The code of .net fx 3.5:
WindowsIdentity..::.Impersonate Method
http://msdn2.microsoft.com/en-us/library/w070t6ka.aspx
Please let me know if you have any further concern on this.
Have a nice day.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- References:
- Re: Howto refresh IIS 6 Application pool identity credential info ?
- From: Ken Schaefer
- Re: Howto refresh IIS 6 Application pool identity credential info
- From: Peke
- Re: Howto refresh IIS 6 Application pool identity credential info
- From: "WenJun Zhang[msft]"
- Re: Howto refresh IIS 6 Application pool identity credential info
- From: Peke
- Re: Howto refresh IIS 6 Application pool identity credential info
- From: Peke
- Re: Howto refresh IIS 6 Application pool identity credential info ?
- Prev by Date: RE: IIS on Port 8888, needs login
- Next by Date: Re: Kerberos, SETSPN, GET & POST
- Previous by thread: Re: Howto refresh IIS 6 Application pool identity credential info
- Next by thread: Re: Howto refresh IIS 6 Application pool identity credential info
- Index(es):
Relevant Pages
|