Reply to Re: Authenticate a user using same password as linux password

Your name:

Reply:


Posted by Mike Willbanks on 05/16/05 19:19

joltman,
> We're working on an intranet site where we will require user's to only
> be able to access their own page in some instances. Rather than
> introducing another password to the mix, we were thinking about seeing
> if we could use the same credentials (username and password) as their
> linux credentials. The web site will be running off of the same machine
> that we want to access the credentials on.

I would advice against this as PHP/Apache would need read access to the
linux password file. Although it is possible. You would read the linux
password file with the usernames and passwords and use the same
algorithm for checking the passwords.

I forget exactly how the algorithm for checking works but you can do a
google search and find it.

Mike

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация