all groups > asp.net security > september 2007 >
You're in the

asp.net security

group:

Impersonating user



Re: Impersonating user Joe Kaplan
9/12/2007 10:17:35 AM
asp.net security: How would you know who the user is to impersonate if you did not
authenticate them somehow?

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
[quoted text, click to view]

Impersonating user kedar
9/12/2007 8:12:55 PM
Hi,

I have a asp.net application, which control virtual directory, we want any
user to access and we do not want to use windows authentication(we do not
want windows authentication dialog) or forms authentication(as we do not
want any login page). However we want to impersonate the user.

Could anyone tell how to achieve this.

thanks,
Kedar.

Re: Impersonating user Dominick Baier
9/13/2007 12:10:11 AM
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)

[quoted text, click to view]

Re: Impersonating user kedar
9/13/2007 4:35:25 PM
Dominick,

We want to overcome the window authentication dialog, what you said make me
feel something intresting. Could you tell me the browser setting and other
factors that I need consider for windows authentication not to come up.

thanks,
Kedar.


"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.com> wrote in
message news:8e6a913a15f238c9c376e9660580@news.microsoft.com...
[quoted text, click to view]

Re: Impersonating user Dominick Baier
9/14/2007 5:51:19 PM
http://msdn.microsoft.com/msdnmag/issues/05/09/SecurityBriefs/default.aspx

Have a look at this article
-----
Dominick Baier (http://www.leastprivilege.com)

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

[quoted text, click to view]

AddThis Social Bookmark Button