Question Locked

Using Active Directory authentication for external web site?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello....

A client has a WS 2000 server with Active Directory handling authentication for users on their network. I would like for their AD authentication to allow them onto a web site that is hosted externally to their network. All users run a fairly narrow range of MS software, and specifically IE of various recent versions.

The separate web site hosts sensitive information and currently has a php/Unix access control system tracking sessions and state, but I am willing to explore all possibilities leading to a single sign-on. Really, I lack a conceptual understanding of where to look next....

Can someone refer me to reading materials -- and the names of the appropriate MS technologies -- for me to pursue? Is AD intended to share credentials across an Internet connection? Any guidance welcome.

Finally, would an external MS-based web server offer solutions that are better suited to this need? It is a given that the web server must be external to their network... but to some extent the OS is not critical.

Thanks
rg

6 replies

by p.j.hutchison

Yes, it can be done. You need an IIS server, Visual Studio .NET, an AD user for IIS for Anon access to replace IUSR_name and some source code:

http://support.microsoft.com/kb/326340

Then a user can supply their AD user/password to gain access to the web site via a simple login page.

by ralphgauer

PJ,

Thanks.... The users authenticate within the network (typically when they sign on to their PC in the morning). Is it possible for an external web site to recognize this? The user is first authenticated by AD within the network, and then can be recognized externally in some way?

Excellent KB article... and thanks.

Best
rg

by ralphgauer

PJ,

Thanks... less elegant, but the approach I was considering. I was hoping to avoid maintaining two databases of authenticated users...

Thanks very much!

Best
rg

by Member 30854325

Howdy indeed there are many ways of getting things to authenticate with AD.

You don't have to use MS web stuff for it at all though. Probably largely thanks to AD largely being an LDAP implementation.

Here's an example of a PHP authentication web application that I'm told will work with AD: http://simplesamlphp.org/

Moodle is a web-application I administer that uses PHP and I have rigged up to talk to our AD server - there's another example (that's Linux, Apache, MySQL, PHP).

This discussion is closed to new replies.