Trying to get Windows AD LDAP working to recognize who is accessing the
page... I have successfully grabbed the user credentials and passed
them off to LDAP, but that required me to pass off a hard coded Userid
and password. Since this server is on our corporate network. Is there a
way to either:
1) Grab the userid/password of the client and use them to access the
windows LDAP server withouth having to give out my own? or
2) Protect the "include" so that a user could not "path" to the server
(\\server\directory\phpscripts\includes\password.p hp) and view the php
file, while allowing the WWW browser access to the file.
Thanks
Carl