Re: special authentication

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 02/22/05

  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: special authentication"
    Date: Tue, 22 Feb 2005 12:59:45 -0600
    
    

    On 22 Feb 2005 06:41:44 -0800, peter.kornills@web.de (Peter Kornills) wrote:

    ¤ Hi!
    ¤
    ¤ My problem is quiet simple, but a solution seems to be difficult(for
    ¤ me):
    ¤ I've a group of users for my asp.net webapplication. In case of a
    ¤ login the User should be authenticated automaticly (this means the
    ¤ application should verify if he's allowed to use it).
    ¤
    ¤ I want to get the windows username from the client and look up in an
    ¤ oracle database weather the user is allowed to act with the webapp. If
    ¤ he isn't the Application will redirect to an error-message.
    ¤
    ¤ But it seems to be hard to get the windows-user.
    ¤
    ¤ I've tried to set the authentication form on "Windows" in the
    ¤ Web.config-file
    ¤
    ¤ In the code behind I try to get the following value:
    ¤
    ¤ name = Page.User.Identity.Name
    ¤
    ¤ but that doesn't work.
    ¤ Does any body have an idea to solve this problem?
    ¤
    ¤ Regards
    ¤
    ¤ Peter

    In addition to what Joe mentioned you also need to enable impersonation.

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconimpersonation.asp

    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)


  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: special authentication"

    Relevant Pages

    • Re: Simple FAX Sample TAPI
      ... I have got a big headache when developing a webapplication using Fax Service ... I made a Windows Application just to ... Because the fax just has a body file, and does not have cover page, does ... > See my TAPI and TSPI FAQ: ...
      (microsoft.public.win32.programmer.tapi)
    • Re: KRB_AP_ERR_MODIFIED
      ... > The error below occurs periodically when running a webapplication. ... > server is a Windows 2003 and the clients run Windows XP. ... You can disable Kerberos and use NTLM instead by using vbscript or editing ...
      (microsoft.public.inetserver.iis.security)
    • KRB_AP_ERR_MODIFIED
      ... The error below occurs periodically when running a webapplication. ... server is a Windows 2003 and the clients run Windows XP. ... The iis applicationpool runs under a domain user because the webapplication ...
      (microsoft.public.inetserver.iis.security)
    • special authentication
      ... My problem is quiet simple, but a solution seems to be difficult(for ... I've a group of users for my asp.net webapplication. ... login the User should be authenticated automaticly (this means the ... I've tried to set the authentication form on "Windows" in the ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • unable to create webproject
      ... I try to create a webapplication in vs.net 2003 (under windows xp ... professional sp2 and sharepoint services) and then i get this error: ...
      (microsoft.public.vsnet.general)