Re: ASP.NET Impersonation in a Windows 2003 non domain member server
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 20 Apr 2007 17:09:06 +0000 (UTC)
You need Windows authentication enabled for that.
Then you either generally impersonate for the length of the whole request using the <identity impersonate="true" /> config switch - or programmatically by calling
using (((WindowsIdentity)Context.User.Identity).Impersonate())
{
}
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
Hi everybody,
Is it possible to do ASP.NET Impersonation in a windows 2003 non
domain member server (locate at the DMZ)? If so, how can I do that?
Thanks in advance for your kind reply
Best regards,
Johann Granados
Staff DotNet
.
- Prev by Date: Re: How to access UNC from ASP.NET application?
- Next by Date: Re: ASP.NET Impersonation in a Windows 2003 non domain member serv
- Previous by thread: How to access UNC from ASP.NET application?
- Next by thread: Re: ASP.NET Impersonation in a Windows 2003 non domain member serv
- Index(es):
Relevant Pages
|