G
Guest
I am working on a web app that required authentication to AD.
The authentication is working fine the way I am doing it, but
was wondering what the best practice is.
My code doesn't actually authenticate to AD as much as it
does authenticate to AD by using LDAP.
DirectoryEntry(szServername, szUsername, szPassword,
AuthenticationTypes.Secure) where szServername is a string that is
dynamically built as: "LDAP://" + this.txtServer.Text
Is there a way that I can have the session authenticate to AD once
and not have to store username and password and then use only
that authenticated connection to perform the functions that are needed?
Any help or pointers would be greatly appreciated.
The authentication is working fine the way I am doing it, but
was wondering what the best practice is.
My code doesn't actually authenticate to AD as much as it
does authenticate to AD by using LDAP.
DirectoryEntry(szServername, szUsername, szPassword,
AuthenticationTypes.Secure) where szServername is a string that is
dynamically built as: "LDAP://" + this.txtServer.Text
Is there a way that I can have the session authenticate to AD once
and not have to store username and password and then use only
that authenticated connection to perform the functions that are needed?
Any help or pointers would be greatly appreciated.