<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 17:51:35 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[WebReference.com: Using PHP Encryption for Login Authentication]]></title>
      <guid>http://www.phpdeveloper.org/news/14602</guid>
      <link>http://www.phpdeveloper.org/news/14602</link>
      <description><![CDATA[<p>
New on WebReference.com there's a follow up article that talks about <a href="http://www.webreference.com/programming/php/encryption_authentication/">using encryption</a> built into PHP to handle login information and authentication.
</p>
<blockquote>
Following up on "<a href="http://www.webreference.com/programming/php/encryption_one-way/">Implementing One-way Encryption in PHP</a>," my previous tutorial about using one-way encryption to build a secure online diary application, this article explores using PHP encryption for login authentication. It presents the two scripts that make up the diary application: the login and diary scripts, as well as the necessary database server connection script.
</blockquote>
<p>
His script example shows how to use the <a href="http://php.net/md5">md5 hashing function</a> to compare passwords with the ones in the database as well as a modification that uses the <a href="http://php.net/mcrypt">mcrypt</a> libraries to encrypt some sample text.
</p>]]></description>
      <pubDate>Fri, 04 Jun 2010 08:50:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[MelbourneChapter.net: PHP and Authentication Security]]></title>
      <guid>http://www.phpdeveloper.org/news/5104</guid>
      <link>http://www.phpdeveloper.org/news/5104</link>
      <description><![CDATA[From the MelbourneChapter.net site, there's <a href="http://www.melbournechapter.net/wordpress/programming-languages/php/cman/2006/04/04/php-and-authentication-security/">an informative post</a> looking at user validation methods, specifically the powerful <a href="http://pear.php.net/package/Auth">PEAR::Auth package</a>.
<p>
<quote>
<i>
Once we have the user we need to authenticate the details they have submitted. To do this the usual approach is to query a 'user' table in your database to check the corresponding username and password.
<p>
This is fine in most situations, but as systems scale we often find that maintaining this user table with current user/passwords can be a lot of trouble. Often in larger systems and organisations usernames and passwords are controlled centrally. This can be in the form of a directory service, such as LDAP. Some situations you may even use a RADIUS, SAMBA, PASSWD style or POP3.
</i>
</quote>
<p>
Instead of trying to create all of the above connections, <a href="http://www.melbournechapter.net/wordpress/programming-languages/php/cman/2006/04/04/php-and-authentication-security/">they suggest</a> using the well-established <a href="http://pear.php.net/package/Auth">PEAR::Auth</a> package. They even link to <a href="http://www.melbournechapter.net/wordpress/programming-languages/php/cman/2006/03/30/php-using-libraries-without-requiring-install-on-hosting-server/">a method</a> of getting it installed on a shared hosting platform. TO finish it off, they include a reminder to always asses the security of your application, and suggest keeping an eye on the <a href="http://www.phpsec.org">PHP Security Consortium's SecurityFocus Newsletters for the latest PHP security-related issues.]]></description>
      <pubDate>Tue, 04 Apr 2006 07:29:22 -0500</pubDate>
    </item>
  </channel>
</rss>
