Stupid Authentication Question

From: Eddie B (no email)
Date: 01/09/05

  • Next message: Stephen Davies: "Re: Forms Authentication to protect a cgi application"
    Date: Sun, 09 Jan 2005 03:47:19 -0500
    
    

    I am writing an aspx (Visual Basic) logon app for a friend (he needs
    to be able to reset expired passwords, so the regular windows logon
    won't work). Everything is in the same domain and secure, so that
    isn't really going to be a problem.

    I created a logon page, that checks user name and password against
    active directory:

    dso = GetObject("LDAP:")
                oUser = dso.OpenDSObject("LDAP://" & LDAPServerPath,
    txtUserName.Text, txtPassword.Text, 1)
               
    After the user is authenticated, I retrieve the groups the user
    belongs to, and read an ini file to determine what page the user
    should be redirected to based on their group.

    No problem up until now, the thing is, the permissions to the pages he
    wants to redirect to are set by NTFS. I can't figure out how to use
    the logon information supplied by the user to access these pages
    without the windows "connect to <server>" screen popping up.

    If the user signs on using the pop up, then they can access the sites
    as long as they don't close the browser. If they do, then they have
    to do it all again.

    Is there a way to authenticate the session? He is using "Basic
    Authentication" on a 2003 machine (IIS6)

    Thanks for any help, this is all I have left before the project is
    finished :)


  • Next message: Stephen Davies: "Re: Forms Authentication to protect a cgi application"

    Relevant Pages

    • NTFS and Web Application problem
      ... I am writing an aspx logon app for a friend (he needs ... to be able to reset expired passwords, so the regular windows logon ... wants to redirect to are set by NTFS. ... "Basic Authentication" on a 2003 machine ...
      (microsoft.public.dotnet.languages.vb)
    • I can not logon in safe mode
      ... I am able to use the regular Windows Logon. ... Recently I tried to logon to the system in Safe ... tried to logon to Safe Mode and the system reboots. ... I can not logon as an Administrator or on my regular account in Safe Mode. ...
      (microsoft.public.windowsxp.general)
    • Re: Native Mode possible problems...help!
      ... their password will still be able to logon to an NT 4.0 - but using their ... Windows 2003/2000/NT ... > They NT 4.0 domain controllers will still be able to authenticate users, ... > Why not just upgrade the BDCs to Windows 2000 Server? ...
      (microsoft.public.windows.server.general)
    • Re: Child Domain access
      ... > You wrote...."So you logon TO A PC using a set of credentials from a ... > should be able to authenticate in the child domain with domain / ent admin ... > account which exists in the TRUSTED parent domain? ... So if the PC is in the child domain you can logon to IT ...
      (microsoft.public.windows.server.active_directory)
    • Outlook Anywhere with Cross Realm Trust
      ... I have the trust configured and it will allow me to authenticate using OWA. ... Task Category: Logon ... An account failed to log on. ... This event is generated when a logon request fails. ...
      (microsoft.public.windows.server.active_directory)

  • Quantcast