Re: Impersonating user



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.



.



Relevant Pages

  • Save File to Server on Different Domain
    ... The file server is on a different domain than the web server. ... Sometimes you might need to obtain a Windows NT account token to impersonate ... Imports System.Collections ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Save File to Different Domain - 2nd Post
    ... Sometimes you might need to obtain a Windows NT account token to impersonate ... Imports System.Collections ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Save File to Different Domain - 2nd Post
    ... maybe the user doesn't have logon permissions on the server ... > impersonate a user with the proper permissions on the file server: ... > Sometimes you might need to obtain a Windows NT account token to ... > Imports System.Collections ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Login Page
    ... If you are using Windows Authentication, you don't need a login page. ... > I am looking for a way to make my website secure. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Login Page
    ... If you are using Windows Authentication, you don't need a login page. ... > I am looking for a way to make my website secure. ...
    (microsoft.public.inetserver.iis)

Quantcast