Using windows authentication with php?

后端 未结 4 1767
暗喜
暗喜 2020-12-01 21:45

Scenario:

I have a area of a website that needs to be secure and accessible when offsite. I want the user to enter the username and password used to login at work i

4条回答
  •  青春惊慌失措
    2020-12-01 22:01

    If you are using LDAP at work, go with that, if not, well you have to access it thru .NET.

    Since there are several but not fully reliable .NET implementations for PHP, I would recommend using a WebService, which PHP would consume, that will pass the user and pass - encrypted would be nice - to it, and it will return if the credentials are valid or not.

提交回复
热议问题