Obtaining network username when impersonate is set to false

From: Ramzey (jeremy_deats_at_hotmail.com)
Date: 08/12/03


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.



Relevant Pages

  • Re: Obtaining network username when impersonate is set to false
    ... > obtain a network users name for the user accessing the ... This can easily be accomplished by setting impersonate to true ... Instead we want it to run in the context of the asp_wp ... It seems less of a security to risk to use Integrated Windows ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Logging users movements
    ... I support several accounting firms and they are concerned about the internal ... security of their network users. ... I've been assigned the task of looging users movements while logged into ...
    (microsoft.public.windowsxp.security_admin)
  • REPOST: Help: folder permissions
    ... Network users see resorces based ... on Share Level permissions, Then directory security. ... >I created a security group in AD called db-edit for the ...
    (microsoft.public.windows.server.sbs)
  • Re: access security vb
    ... Which you can use for 'social engineering' attempts on the passwords. ... Which is why most networks do not display a list of network users. ... But since security in Access is technically weak, ... Thanks to many on this forum, I have completed setting up security. ...
    (microsoft.public.access.security)