问题描述
情景:
我有一个网站,需要将安全和访问时异地的区域。我希望用户输入用于工作在Web表单进行登录的用户名和密码。表单将发送用户名和密码来验证它。如果它工作在用户登录
I have a area of a website that needs to be secure and accessible when offsite. I want the user to enter the username and password used to login at work in a web form. The form will send the username and password to authenticate it. If it works the user is logged in.
我需要使用的一种形式而不是弹出登录框。 PHP是preferred但我很灵活。任何想法,我指出了正确的方向?
I need to use a form not a pop-up login box. PHP is preferred but I'm flexible. Any ideas to point me in the right direction?
我的雇主,他们已经建立了一个使用弹出框几个安全区域。我需要的东西来完成我需要使用Web表单。
My employer has a few secure areas they have set up that uses the "pop-up box". For what I need to accomplish I need to use a web form.
推荐答案
尝试LDAP
- http://www.devshed.com/c/a/PHP/Using-PHP-With-LDAP-part-1/
- http://us2.php.net/ldap
我已经写了使用本地Windows用户名和密码来验证和LDAP是迄今为止最好的解决方案。
I've written intranet web applications that use the local windows username and password to authenticate and LDAP is by far the best solution.
这篇关于使用Windows身份验证与PHP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!