Obtaining network username when impersonate is set to false
From: Ramzey (jeremy_deats_at_hotmail.com)
Date: 08/12/03
- Next message: Jeremy Jones: "RE: IIS, SQL, impersonate not functioning..."
- Previous message: Bob Grommes: "Re: User has to login twice. Why??"
- Next in thread: Ramzey: "Re: Obtaining network username when impersonate is set to false"
- Reply: Ramzey: "Re: Obtaining network username when impersonate is set to false"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 11 Aug 2003 15:00:40 -0700
In our environment we want to set it up so that our ASP.NET code can
obtain a network users name (e.g. bgates) for the user accessing the
page. This can easily be accomplished by setting impersonate to true
in web.config, but we do not want the page to run in the context of
the user. Instead we want it to run in the context of the asp_wp
account.
This may sound a bit strange, but really we're searching for a way
around having to have users on the local network go through a log-in
form. It seems less of a security to risk to use Integrated Windows
security for authentication and then switch back to asp_wp to run all
the code. I can actually accomplish that, I just need to be able to
get the users name when impersonate set to false.
- Next message: Jeremy Jones: "RE: IIS, SQL, impersonate not functioning..."
- Previous message: Bob Grommes: "Re: User has to login twice. Why??"
- Next in thread: Ramzey: "Re: Obtaining network username when impersonate is set to false"
- Reply: Ramzey: "Re: Obtaining network username when impersonate is set to false"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|