Active Directory, , - - IIS, *.. - PHP:
$user = isset($_SERVER['AUTH_USER']) ? $_SERVER['AUTH_USER'] : false;
if((false === $user) or ('' == $user)){
//Divert to incorrect password page..
//MSIE typically tries three times, Kerb/NTLM/Plain
//FF will only try NTLM/Plain if configured for NTLM
//Chrome.. won't work with this at all.. not that I have discovered.
//If testing locally using Apache, user will be 0
}
SSO Kerberos, .
*: " Windows" http://support.microsoft.com/kb/324274 , " " " " ".., , IIS .. SPN " "" IIS " . / . - , , . script/GPO IE, .
, - . , , , .. , , . // .. , , , , .. , , ..