Results 1 to 3 of 3

Thread: window authentication php

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2005
    Posts
    1,170

    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?

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    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.

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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
  •  



Click Here to Expand Forum to Full Width