Re: Impersonating user



as Joe says - you need to auth the user to impersonate him.

Depending on browser settings and other factors you can do that using windows authentication (without showing the logon dialog box).

what's your scenario?

-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

How would you know who the user is to impersonate if you did not
authenticate them somehow?

Joe K.



.



Relevant Pages

  • Re: implementing hierarchy
    ... >> Then Joe C has a post where he gives a more complex version that has ... some benefits, but is still quite messy, depending on your actual ... Us old farts who used to use pointer chains and traverse links ...
    (microsoft.public.sqlserver.programming)
  • Re: Access remote xml file using Credentials
    ... > If the target file is on a SharePoint site, ... > using Windows authentication, not Forms authentication. ... > your browser to it or whether the browser prompts you or logs you on ... >> Hi Joe ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: silly question...
    ... i want to tell you to hang on/in there, but i'm like you with the thoughts, ... i have people depending on me also, but it's been 4 years of up/down, they ... they've heaped us all together now as drug abusers so expect ...
    (alt.support.chronic-pain)
  • Re: X-Fest/RMGD Winter Conference: San Francisco
    ... > Will the aardvark be there? ... > Depending on the weather. ... > Please make sure, Neil, that Dave Kelly doesn't get tossed out before I ... It will be great to see you again, Joe. ...
    (rec.music.gdead)
  • Re: red cells in DataGrid
    ... Just to add on to what Joe said; if you are rather trying to notify the user ... Rakesh Rajan ... depending on some other column values in the ...
    (microsoft.public.dotnet.languages.csharp)