是否有一种让浏览器将Windows凭据发送到我的Web应用程序的好方法?目前我在Apache2中使用mod_auth_sspi,在IP上进行过滤,现在的问题是我在任何其他浏览器中获得了一个对话框,然后IE获取了Windows凭据,这是不需要的。
这是我的httpd-extra.conf:
<VirtualHost 10.13.1.99:80>
ServerAlias xxxxxxx
DocumentRoot D:/http/
ErrorLog logs/prod_servicedesk_errors.log
</VirtualHost>
<Directory "D:/http/">
RewriteEngine On
AllowOverride All
Order allow,deny
Allow from all
AuthType SSPI
SSPIAuth on
SSPIAuthoritative on
SSPIDomain xxxxxxx.local
SSPIOmitDomain On
SSPIOfferBasic On
Allow from 10.13.1.49 10.13.1.99
Deny from 10.13.1 /// all 10.13.1.x IP-addresses are servers that need the single-sign-on functionality
Satisfy any
Require valid-user
</Directory>