Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Impersonating user

Reply
Thread Tools

Impersonating user

 
 
kedar
Guest
Posts: n/a
 
      09-12-2007
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.


 
Reply With Quote
 
 
 
 
Joe Kaplan
Guest
Posts: n/a
 
      09-12-2007
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
--
"kedar" <> wrote in message
news:...
> 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.
>



 
Reply With Quote
 
 
 
 
Dominick Baier
Guest
Posts: n/a
 
      09-13-2007
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.
>



 
Reply With Quote
 
kedar
Guest
Posts: n/a
 
      09-13-2007
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: om...
> 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.
>>

>
>



 
Reply With Quote
 
Dominick Baier
Guest
Posts: n/a
 
      09-14-2007
http://msdn.microsoft.com/msdnmag/is...s/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)

> 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: om...
>
>> 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.
>>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Impersonating user kedar ASP .Net 4 09-12-2007 07:43 PM
Occasional SecurityException when impersonating a user on a new thread =?iso-8859-1?q?Eir=EDkur_Fannar_Torfason?= ASP .Net 4 05-18-2007 03:31 PM
Impersonating other domain user in ASP.Net cmw@europe.com ASP .Net Security 4 02-15-2007 03:08 PM
Impersonating a User and Starting Standalone Processes stop workin =?Utf-8?B?SW5kZXB0aA==?= ASP .Net 1 04-01-2005 09:05 PM
impersonating windows authenticated user? Jamie ASP .Net Security 5 02-11-2004 11:57 AM



Advertisments