2000年08月27日 13:30:00
如何知道哪个Lan用户是在我的Intranet上?
If you have disabled Anonymous access, then you should be able to retrieve the value from: Note that IE is required to support Challenge/Response (IIS4) or Integrated Windows Security (IIS5). If you can't disable Anonymous access, and/or need to support Netscape, then there is a possible alternative, provided you're not using DHCP. If your users have static IP addresses, you could store their usernames in a table and do a lookup against their IP: If you can't enforce either of those things, then you may have to resort to forcing your users to log in (even only once, then storing a cookie). I suppose this depends on balancing the importance of knowing who is on the site versus every user having to log in.
If you have disabled Anonymous access, then you should be able to retrieve the value from: Note that IE is required to support Challenge/Response (IIS4) or Integrated Windows Security (IIS5). If you can't disable Anonymous access, and/or need to support Netscape, then there is a possible alternative, provided you're not using DHCP. If your users have static IP addresses, you could store their usernames in a table and do a lookup against their IP: If you can't enforce either of those things, then you may have to resort to forcing your users to log in (even only once, then storing a cookie). I suppose this depends on balancing the importance of knowing who is on the site versus every user having to log in.
Trackback: http://tb.blog.youkuaiyun.com/TrackBack.aspx?PostId=3108
本文介绍了在禁用匿名访问的情况下,如何通过IE浏览器支持Challenge/Response或Integrated Windows Security来获取内部网络中用户的登录信息。对于无法禁用匿名访问的情况,提出了使用静态IP地址与用户名对照表的方法,或者强制用户登录并保存cookie。
610

被折叠的 条评论
为什么被折叠?



