Getting username and password from windows login

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
winsonlee
Forum Commoner
Posts: 76
Joined: Thu Dec 11, 2003 8:49 pm

Getting username and password from windows login

Post by winsonlee »

Just wondering if it is possible to get windows username and password using php ??

for windows, user needs to login to the network using username and password.
since username and password is used to login, i wonder if it is possible to get the usernamd and password to verify wif the database and if it exist, the user is allow to get into the system.
Else an error msg will be displayed saying that access denied.
GM
Forum Contributor
Posts: 365
Joined: Wed Apr 26, 2006 4:19 am
Location: Italy

Post by GM »

I don't understand something...

In order to access your system, the user needs to be logged in to Windows. You then want to check whether the username/password is valid after the user has successfully used them to log in with?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Yup, research NTLM authentication
Post Reply