MarnickTelenet
Programmer
We want to deploy a ASP.NET web-application that is secured by a login-page.
We don't want to have a seperate password-system. We want to use the existing Active Directory system.
The web-application runs on a IIS-server which is OUTSIDE the domain. So it is not possible to reach Active Directory "directly" from the IIS-server.
The only solution we see is the following:
The web-application connects to a database on a SQL-server. That SQL-server is INSIDE the domain and can reach the Active Directory.
If we can write a stored-procedure on the SQL-server that receives the parameter "user" and the parameter "password" and returns the value "OK" or "NOT OK", we can validate the Active Directory user/password through the SQL-server.
We found SQL-code that can be used in a stored-procedure to query the Active Directory, buth with that SQL-code you can only query the AD users and their attributes, buth you can't validate the AD password.
What we need is the possibility to validate both from within a stored-procedure: the AD user and the AD password.
The question we want to be answered by the stored-procedure is: Does this user exists in Active Directory with this password?
Is this possible and how???
We don't want to have a seperate password-system. We want to use the existing Active Directory system.
The web-application runs on a IIS-server which is OUTSIDE the domain. So it is not possible to reach Active Directory "directly" from the IIS-server.
The only solution we see is the following:
The web-application connects to a database on a SQL-server. That SQL-server is INSIDE the domain and can reach the Active Directory.
If we can write a stored-procedure on the SQL-server that receives the parameter "user" and the parameter "password" and returns the value "OK" or "NOT OK", we can validate the Active Directory user/password through the SQL-server.
We found SQL-code that can be used in a stored-procedure to query the Active Directory, buth with that SQL-code you can only query the AD users and their attributes, buth you can't validate the AD password.
What we need is the possibility to validate both from within a stored-procedure: the AD user and the AD password.
The question we want to be answered by the stored-procedure is: Does this user exists in Active Directory with this password?
Is this possible and how???