|
-
Apr 7th, 2009, 04:44 PM
#1
Thread Starter
Frenzied Member
window authentication php
Hello, I am developing php and mysql on my local workstation with apache installed and phpmyadmin. Now, my question is I would like to be able to use the window authentication with php, how can I do that?
-
Apr 7th, 2009, 05:07 PM
#2
Re: window authentication php
Assuming you're using AD, you would need to build a script, or find an open source one, that checkes against the AD. If you google PHP LDAP authentication, it should yield plenty of results to get you started.
Or do you mean just normal windows authentication? PHP is a server side script and cannot interact with the users machine in that way.
-
Apr 7th, 2009, 11:52 PM
#3
Re: window authentication php
There are two parts to implementing Integrated Windows Authentication using a non IIS stack:
— reading the user credentials from the client;
— validating the credentials against the Active Directory server.
For part one please take a look at this project: Kerberos Module for Apache.
Part two can be done using LDAP as kfcSmitty suggests.
Bear in mind that Integrated authentication is only natively supported on the client side by Internet Explorer.
Last edited by penagate; Apr 7th, 2009 at 11:55 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|