简体   繁体   English

获取Windows用户名和密码

[英]Fetch Windows Username and Password

I am looking for a way to fetch windows username and password, to log in into LDAP with those credentials. 我正在寻找一种获取Windows用户名和密码,使用这些凭据登录LDAP的方法。

This code will be on a company's Intranet, so everyone must automatically login. 该代码将在公司的Intranet上,因此每个人都必须自动登录。 That login must be made with each person's Windows Credentials. 该登录必须使用每个人的Windows凭据进行。

I have searched throught the internet, but didn't find any relevant information, or any that would work properly. 我已经在互联网上进行搜索,但是没有找到任何相关信息,或者没有任何可以正常工作的信息。

I am using Windows Xp (Don't know if that matters). 我正在使用Windows Xp(不知道这是否重要)。

thanks 谢谢

Php is server side and its impossible to access any client side info with it. Php是服务器端,因此无法使用它访问任何客户端信息。 You can use javascript to send data to php but you cant access any windows related credentials with it. 您可以使用javascript将数据发送到php,但无法使用它访问任何与Windows相关的凭据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 获取用户名和密码进行身份验证 - Fetch Username and Password for Authentication PhpMailer使用Windows发送不带用户名和密码的电子邮件 - PhpMailer send email without username and password with Windows FTP在localhost(Windows)上的opencart中需要用户名和密码 - FTP required username and password in opencart on localhost (windows) 有url用用户名和密码获取json数据,如何保护它,因为javascript源显示用户名和密码 - Got url to fetch json data with username and password, how to secure it as javascript source shows username and password 如何在没有用户名和密码的情况下使用gmail oauth提取电子邮件 - How to fetch emails using gmail oauth without username and password 如何在Windows中使用没有用户名和密码的MySQL连接Laravel应用程序 - How to connect Laravel application with MySQL with no username and password in Windows mysqli连接-如何创建用户名和密码? Windows Server 2008 - mysqli connection - How to create username and password? windows server 2008 当密码为空时,Windows上的PDO会忽略主机名和用户名 - PDO on Windows ignores host name and username when password is empty 如何修复我的 php 无法从 mySQL 数据库中获取用户名和密码? - How can I fix my php being unable to fetch a username and password from a mySQL database? joomla中的用户名和密码帮助 - username and password help in joomla
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM