Intranet website authentication using windows logon

拈花ヽ惹草 提交于 2019-12-30 06:40:12

问题


I'm building an internal website in Perl and I would like to get it to use Windows credentials for authentication. My research so far has turned up a lot of keywords: Kerberos, LDAP, NTLM, etc, but no solid information. Anyone got pointers or good tutorials?

Thanks.


回答1:


Are your servers part of a Microsoft Active Directory?

  • Active Directory is LDAP-compliant. Therefore, you can setup LDAP to authenticate your users

  • Are you using Apache? If so, there is a module that allows you to authenticate to an Active Directory directory: mod_ auth_sspi

  • Finally, Microsoft has created Active Directory Service Interfaces (ASDI) to solve these types of problems. There is a lot of information at MSDN. For example, this is how the open-source Hudson CI server authenticates to Active Directory.

I hope one of these suggestions help you.




回答2:


We've been using Mod NTML for Apache. It fetches the windows credentials of the user logged in. But you're probably not interested in the SSO?

http://modntlm.sourceforge.net/




回答3:


I've been looking into this topic myself. I'm still not sure what the right answer is because the topic is out of my domain of knowledge & experience. But here are some possibilities that I've come up with by searching the Internet:

An Apache LDAP module: http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html

A Perl Module for Apache LDAP authentication: Apache2::AuthNetLDAP

NT authentication using an Apache Perl Module: Apache2::AuthenSmb

Using NIS for Apache user authentication: http://www.yolinux.com/TUTORIALS/LinuxTutorialApacheAddingLoginSiteProtection.html#NIS

An article describing ActiveDirectory authentication using Apache: http://www.le.ac.uk/cc/sh23/adldap.html

An open source ActiveDirectory solution from a business: http://www.likewise.com/




回答4:


For Tomcat on Windows you can use Waffle, both SSO and form-based/basic/digest auth.



来源:https://stackoverflow.com/questions/1227349/intranet-website-authentication-using-windows-logon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!