Ask a Question related to ASP.NET Security, Design and Development.
-
u_heet #1
HELP WITH IMPERSONATING
Hi, I am a newbie at asp.net so I appreciate all of your help.
I have a datagrid displaying unc_path's as a hyperlink to network shares.
The problem that I'm having is that I get "Access denied" but only on serverB.
ServerA is local, ServerB is remote. I tried impersonating an "admin"
account in a web.config file but it doesn't seem to work. The output of
System.Security.Principal.WindowsIdentity.GetCurre nt().Name shows the correct
domain account I'm trying to impersonate. Weird thing is if I log into my
machine as the account I'm trying to impersonate I can access the shares in
both serverA and serverB with no problems.
My web.config looks like this:
<configuration>
<system.web>
<customErrors mode="Off"/>
<identity impersonate="true" userName="myDomain\Admin" password="Admin" />
</system.web>
</configuration>
Am I missing something?
u_heet Guest
-
ASP.Net not impersonating for WSE 2.0
I have several web services that use WSE to authenticate calling users. I use a UsernameToken that validates the sent username and password against... -
ASP.Net not impersonating for WSE 2.0 AuthenticateToken method
I have several web services that use WSE to authenticate calling users. I use a UsernameToken that validates the sent username and password against... -
ASP.NET Impersonating a Certain User At Run time
If you looking for a way to use Forms Authentication with Active Directory, following web site may be a worth reading as your start point. I'm... -
Need help with impersonating for GetCurrentProcess call.
I am fairly new to ASP.NET, and am not sure about a problem that I am having and how to resolve it. My web page needs to make a call to... -
Who am I impersonating?
Is there a way I can get the user of the identity I will be impersonating to get network resources? I know WindowsIdentity.GetCurrent().Name for...



Reply With Quote

