View Full Version : Active Domain Authentication With Webform

08-07-2012, 09:30 AM
We are running a PHP server through IIS on a Windows Server 2003 Enterprise system with an active directory domain. Accessing our web applications on the local network works great as it automatically captures the active domain session from the domain however when access is requested from off network locations or through our VPN the ugly simple login dialog shows up requesting the username and password. What I would like to be able to do is have a html webform instead so that if the connection is coming from off network a friendly and useful html webform is shown for the user to gain access to the system instead of an unhelpful dialog box.

Thanks guys.

08-07-2012, 05:38 PM
I've performed SSO with Apache and LDAP before, but I've never done it with IIS. I'd assume it's easier.
I'd suggest googling for PHP Single Sign On IIS to see what you get. I can't see replacing the default prompt with an HTML form being that big of a deal in IIS, but I can't be sure how it accepts the data.

08-08-2012, 10:13 AM
That is the issue I am having. SSO authentication is no problem on IIS using the native feature which uses active domain authentication. That works brilliantly. My one and only issue is trying to replace the authentication dialog box with a html webform which I can design. There are a heap of SSO examples out there but most of them require custom coding in the application to capture the SSO data and then simply use an LDAP connection to identify the user. I am after true IIS AD authentication but just wish to replace the dialog box with a webform.