faqts : Computers : Programming : Languages : PHP : General Information : PHP3 to PHP4 Migration : Unix

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 22 people (14%) answered Yes
Recently 0 of 10 people (0%) answered Yes

Entry

Can I check Unix system passwords from PHP?

Aug 3rd, 1999 00:03
Nathan Wallace, Martin Koistinen


Do you really want PHP to authenticate your users based on their system
passwords?  This is probably not a good idea.

Have you considered a simple database of web users or at least Apache's
AUTH DB?

By authenticating your users with their system passwords, you are 
asking them to send their passwords in cleartext over the internet 
each time they log in.  You are also creating more accounts which 
ultimately increases the likelyhood of a break-in.