Ask a Question related to ASP.NET Security, Design and Development.
-
Ramzey #1
Re: Obtaining network username when impersonate is set to false
I found the answer:
System.Web.HttpContext.Current.User.Identity.Name. ToString();
[email]jeremy_deats@hotmail.com[/email] (Ramzey) wrote in message news:<d393d1b1.0308111400.4232c58f@posting.google. com>...> 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.Ramzey Guest
-
Show username after login | Example: Welcome "USERNAME"to your Backoffice.
hi. I've created a backoffice in php, and i would like to apply on the page the name of the user who has just logged in. Example: Welcome... -
Obtaining Windows Username
Hey all, Once again, I find myself requiring your expertise, so I'll say Thank in advance. I was going to try using Kerberos (thanks for the inf... -
DirectoryEntry Impersonate or WindowsIdentity Impersonate?
Another security question. Our project interfaces with the Active Directory. To satisfy the security issues, we have a couple options when we talk... -
get network username?
Hello, Is it possible to get the username (in a form for example) of a user that is logged onto a network?? Thanks for any input Kathy -
<identity impersonate> and NETWORK ACCESS DB-HELP
Hi folks. got a problem: i want to connect to an access db which is located on a network drive (seperate server). The server's name, where the...



Reply With Quote

