可以在PHP访问的Active Directory用户名在所有浏览器? [英] Can PHP access Active Directory username in all browsers?

查看:216
本文介绍了可以在PHP访问的Active Directory用户名在所有浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows服务器上运行PHP(xammp安装),而不是IIS。

I'm running PHP on a Windows server (xammp install), not on IIS.

有没有那种MOD的可安装的Apache,让我抓住了用户的Active Directory用户名?

Is there any sort of mod that can be installed for Apache that will allow me to grab the users Active Directory username?

推荐答案

您可以使用Apache的mod_auth_sspi。

You can use Apache's mod_auth_sspi.

这不,但是盒子的所有浏览器了。

It does not, however work out of the box in all browsers.

  • 在IE浏览器,是微软的产品就会自动登录你的,如果你使用的是AD域认证,如果没有 - 将回落到要求你输入用户名和密码
  • 在Firefox和Chrome浏览器会询问您的用户名和密码,我认为他们都可以被配置为充当IE浏览器,但需要一些调整。
  • 在戏都会有问题路过creditenials,除非你专门配置模块总是使用基本的HTTP认证。

这篇关于可以在PHP访问的Active Directory用户名在所有浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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