Login page needs to be connected to the Active directory

I would like to create a webpage, clicking on Administrators tab should start a login page. The login page needs to be connected to the Active directory and only administrators should be given access to the page. For normal users, it should say access denied. Can anyone help please?

Sounds like you could well use a CMS here. But perhaps say a bit more about what you mean by ‘active’.

Thanks for your reply. Active directory(AD) similar to LDAP. Can I know what is CMS?

Depending on programming language you’ll need something that talks to AD over LDAP. Here is one such library (http://adldap.sourceforge.net/) to connect to AD with PHP (and perform most actions you can in AD).

If you plan on doing LDAP authentication over the web, SSL is a must.