在 php 中使用 Windows 身份验证? [英] Using windows authentication with php?

查看:32
本文介绍了在 php 中使用 Windows 身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景:

我有一个网站区域,需要在异地时保持安全和可访问.我希望用户在 Web 表单中输入用于登录工作的用户名和密码.该表单将发送用户名和密码以对其进行身份验证.如果成功,则用户已登录.

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 in a web form. The form will send the username and password to authenticate it. If it works the user is logged in.

我需要使用表单而不是弹出式登录框.PHP 是首选,但我很灵活.有什么想法可以为我指明正确的方向吗?

I need to use a form not a pop-up login box. PHP is preferred but I'm flexible. Any ideas to point me in the right direction?

我的雇主设置了一些使用弹出框"的安全区域.对于我需要完成的工作,我需要使用网络表单.

My employer has a few secure areas they have set up that uses the "pop-up box". For what I need to accomplish I need to use a web form.

推荐答案

尝试 LDAP

我编写了使用本地 Windows 用户名和密码进行身份验证的 Intranet Web 应用程序,而 LDAP 是迄今为止最好的解决方案.

I've written intranet web applications that use the local windows username and password to authenticate and LDAP is by far the best solution.

这篇关于在 php 中使用 Windows 身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆