Re: Impersonating user
- From: "Cowboy \(Gregory A. Beamer\)" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Sep 2007 14:43:34 -0500
You mean you want it to impersonate whoever logs in, but never give a login?
If so, use windows authentication and you are fine. As long as you are on a
domain, that is. If you mean you want an external user (someone coming in
from a public location) to get in without logging on, it is not going to
happen without either a) including the external machine in your domain (a
lot of work) or b) the user VPNing in with a domain account.
The windows auth dialog only pops up when the user cannot be determined.
Now, you can impersonate a single user rather easily. Just set up the user
in the web.config file. If you want to impersonate the user "logging in",
you have to use windows auth. There is a risk, if the network is not set up
correctly, of having the dialog pop up.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************
"kedar" <kedarnag@xxxxxxxxxxx> wrote in message
news:ucLz9sU9HHA.1168@xxxxxxxxxxxxxxxxxxxxxxx
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.
.
- References:
- Impersonating user
- From: kedar
- Impersonating user
- Prev by Date: WebDateChooser Infragistics!!!
- Next by Date: SQL Remote C#
- Previous by thread: Re: Impersonating user
- Next by thread: Need books to help study and begin to learn ASP.net
- Index(es):
Relevant Pages
|