如何在php/symfony中使用Windows身份验证

问题描述:

我在Symfony应用程序内部网上工作. 我听说使用身份验证窗口而不是必须使用常规身份验证窗口登录的可能性.

I work on a Symfony application intranet. I heard about the possibility of using the authentication window rather than having to log in using a conventional authentication window.

有人可以给我1或2个关于该主题的链接地址吗?我搜索了自己,但找不到正确的关键字. 他是WSSE吗?

Could someone could give me 1 or 2 link addresses on the subject? I searched for myself but I can not find the right keywords. Is he is WSSE?

提前谢谢!

如果您在Windows服务器上的IIS实例上与其他使用该应用程序的其他计算机的Windows服务器上运行IIS实例,则可以关闭访问权限IIS界面中针对匿名"用户的网站.

If you run your PHP application on an IIS instance on a windows server which is in an AD togheter with the other computers which uses this application you can turn off access for the website in your IIS interface for "Anonymous" users.

然后,您可以检查PHP中包含domain\user信息的$_SERVER['AUTH_USER']/$_SERVER['PHP_AUTH_USER']变量之一.您甚至不需要显示任何登录对话框.因此,这是一个SSO(单点登录)过程.

Afterwards you can check against one of the $_SERVER['AUTH_USER']/$_SERVER['PHP_AUTH_USER'] variables in PHP which contains domain\user information. You don't even need to show any login dialogue. So it's a SSO (single sign on) process then.

有关以下信息,请参见下面的链接:

See the link below for more information about this:

查看更多