<?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>Sun, 07 Sep 2008 03:23:22 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ThinkPHP Blog: Webinar: Create Secure LAMP Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/10873</guid>
      <link>http://www.phpdeveloper.org/news/10873</link>
      <description><![CDATA[<p>
The ThinkPHP blog <a href="http://blog.thinkphp.de/archives/351-Webinar-Create-secure-LAMP-applications.html">points out</a> a recorded (German-only) webinar that <i>Stefan Esser</i> did covering the creation of secure LAMP applications.
</p>
<blockquote>
Unfortunately, this Webinar was in German, but if you understand German you might be interested in the Webinar recording which is now <a href="http://www.mysql.de/news-and-events/on-demand-webinars/display-od-171.html">available at MySQL's website</a>.
</blockquote>
<p>
The webinar looks at previous attack types, things that MySQL already includes to help prevent SQL injections, handling multi-byte caharacters and correct error handling.
</p>]]></description>
      <pubDate>Thu, 21 Aug 2008 08:44:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Thomas Weidner's Blog: Zend_File_Transfer examples or using validators to increase security]]></title>
      <guid>http://www.phpdeveloper.org/news/10678</guid>
      <link>http://www.phpdeveloper.org/news/10678</link>
      <description><![CDATA[<p>
<i>Thomas Weidner</i> has <a href="http://www.thomasweidner.com/flatpress/2008/07/20/zend_file_transfer-examples-or-using-validators-to-increase-security">posted about</a> a method he's come up with to help protect you and your site when uploading files through the Zend_File_Transfer component from the Zend Framework.
</p>
<blockquote>
The new Zend_File_Transfer component is growing day for day.
As incredible new feature this component allows to use file validators. These are necessary to increase security and allow to define rules for file uploads (and also downloads in future).
</blockquote>
<p>
He illustrates with a simple Zend_File_Transfer object that uses an addValidators call to limit the size of the upload to 50 KB. Other validation rules include count (the number of files to expect), extension, filessize and imagesize. Using these he makes a "more secure" upload object setting the size to 205KB, to expect five files that are all under 1MB and are of the types gif/jpg/png.
</p>]]></description>
      <pubDate>Thu, 24 Jul 2008 13:41:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ed Finkler's Blog: Encouraging steps towards security in Wordpress 2.5]]></title>
      <guid>http://www.phpdeveloper.org/news/9900</guid>
      <link>http://www.phpdeveloper.org/news/9900</link>
      <description><![CDATA[<p>
<i>Ed Finkler</i>, not normally a big fan of the <a href="http://www.wordpress.org">WordPress</a> PHP-based blogging system, has <a href="http://funkatron.com/site/comments/encouraging-steps-towards-security-in-wordpress-25/#When:18:15:00Z">pointed out</a> some positive steps that were made in the latest release in the security arena.
</p>
<blockquote>
Anyone who gets me liquored up knows that I'm not a fan of Wordpress. I think it's great from a user (that is, the person writing the content) standpoint, but it has lagged behind severely in terms of security, and I don't believe its popularity is the sole reason WP has been the subject of dozens of vulnerability reports every year. That being said, the WP 2.5 release appears to offer significant improvements in a couple areas: password hashes and cookie data encryption.
</blockquote>
<p>
He <a href="http://funkatron.com/site/comments/encouraging-steps-towards-security-in-wordpress-25/#When:18:15:00Z">mentions</a> two things in particular - their addition of salted passwords and secure cookies.
</p>]]></description>
      <pubDate>Wed, 02 Apr 2008 21:09:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Securing Data Sent Via GET Requests]]></title>
      <guid>http://www.phpdeveloper.org/news/9243</guid>
      <link>http://www.phpdeveloper.org/news/9243</link>
      <description><![CDATA[<p>
PHPBuilder.com has a <a href="http://www.phpbuilder.com/columns/hillel_aftel20070510.php3">new article</a> by <i>Hillel Aftel</i> about his method of choice for securing the data that you send over the GET string when moving things around on your site.
</p>
<blockquote>
In this article I'm going to show you how you can use PHP to encode your data for transit. Most importantly, it will be done in a way that makes the data decodable, and therefore much more usable, by the receiving page.
</blockquote>
<p>
His encryption method - sending everything in a single string and modifying the scheme each time - uses static pairs of values (of your choosing) to "encode" the outgoing string. It actually consists of three different files: the script itself, a single-use script that makes the third file, an include file to handle the conversion back from the encoded results.
</p>]]></description>
      <pubDate>Fri, 14 Dec 2007 08:49:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[MT-Soft Blog: Creating a secure PHP production environment from Source Code]]></title>
      <guid>http://www.phpdeveloper.org/news/8583</guid>
      <link>http://www.phpdeveloper.org/news/8583</link>
      <description><![CDATA[<p>
The MT-Soft blog has posted <a href=http://www.mt-soft.com.ar/2007/09/02/securing-php-creating-a-secure-php-production-environment-from-source-code/">a (basic but full of great info) new guide</a> on ensuring that your PHP installation is a very secure place for your application to live.
</p>
<blockquote>
This article shows the basic steps in securing PHP, one of the most popular scripting languages used to create dynamic web pages. In order to avoid repeating information covered in the previous article, only the main differences related to the process of securing Apache will be described.
</blockquote>
<p>
They've broken it up into <a href="http://www.mt-soft.com.ar/2007/09/02/securing-php-creating-a-secure-php-production-environment-from-source-code/">a few different sections</a>:
</p>
<ul>
<li>System they'll be using (operating system, functionality assumed, security assumptions)
<li>Preparing the software
<li>Installing PHP
<li>Chrooting the server
<li>Configuring PHP
<li>Protecting against CSS and SQL injection attacks
</ul>
<p>
Check out <a href="http://www.mt-soft.com.ar/2007/09/02/securing-php-creating-a-secure-php-production-environment-from-source-code/">the full tutorial</a> to fill in the blanks of this outline.
</p>]]></description>
      <pubDate>Tue, 04 Sep 2007 09:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kore Nordmann's Blog: Why are you using BBcodes?]]></title>
      <guid>http://www.phpdeveloper.org/news/8579</guid>
      <link>http://www.phpdeveloper.org/news/8579</link>
      <description><![CDATA[<p>
In a <a href="http://kore-nordmann.de/blog/why_are_you_using_bbcodes.html">new post</a> on his blog, <i>Kore Nordmann</i> takes a look at a feature that's been around a long time (first introduced in a message board application) - BBCodes.
</p>
<blockquote>
The discussion on my blog post "<a href="http://kore-nordmann.de/blog/do_NOT_parse_using_regexp.html">Do not use regular expressions for parsing</a>" ended in a discussion about BBcodes in general. I just used them as an example to demonstrate why it it is impossible to parse such a language with regular expressions - and mentioned in a subclause, that I don't see any sense in using them at all.
</blockquote>
<p>
He <a href="http://kore-nordmann.de/blog/why_are_you_using_bbcodes.html">looks at</a> some of the myths surrounding them and their use (more secure, easier to use, safer than HTML) and gives some reasons for making teh choice of HTML over them.
</p>]]></description>
      <pubDate>Tue, 04 Sep 2007 07:20:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Charles Rowe's Blog: The Four Major Benefits of MySQLi]]></title>
      <guid>http://www.phpdeveloper.org/news/8078</guid>
      <link>http://www.phpdeveloper.org/news/8078</link>
      <description><![CDATA[<p>
<i>Charles Rowe</i> shares <a href="http://www.charlesrowe.com/2007/06/15/the-four-major-benefits-of-mysqli/">four reasons/benefits</a> he's come up with that should make you think about choosing MySQLi over the normal MySQL libraries for PHP for your application.
</p>
<blockquote>
There still seems to be a lot of confusion over the differences between the two extensions despite the length of time that mysqli has been in the wild. I wanted to briefly review the four major benefits of mysqli.
</blockquote>
<p>
Here's <a href="http://www.charlesrowe.com/2007/06/15/the-four-major-benefits-of-mysqli/">the list</a>
</p>
<ul>
<li>Prepared Statements
<li>Secure MySQL connections
<li>Multi query
<li>Object Oriented Interface
</ul>
<p>
He also includes a few more links to further information (besides the explanation for each of the topics listed above) including <a href="http://devzone.zend.com/node/view/id/686">an article</a> from the Zend Developer Zone and <a href="http://forge.mysql.com/wiki/Converting_to_MySQLi">a tutorial</a> covering making the switch to MySQLi.
</p>]]></description>
      <pubDate>Tue, 19 Jun 2007 11:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Securing Data Sent Via GET Requests]]></title>
      <guid>http://www.phpdeveloper.org/news/7822</guid>
      <link>http://www.phpdeveloper.org/news/7822</link>
      <description><![CDATA[<p>
On PHPBuilder.com today, there's a <a href="http://www.phpbuilder.com/columns/hillel_aftel20070510.php3">new tutorial</a> that talks about a method to securing data sent via GET requests in your application.
</p>
<blockquote>
In this article I'm going to show you how you can use PHP to encode your data for transit. Most importantly, it will be done in a way that makes the data decodable, and therefore much more usable, by the receiving page.
</blockquote>
<p>
They talk about some of the advantages to encryption before <a href="http://www.phpbuilder.com/columns/hillel_aftel20070510.php3">getting into</a> how it actually works. Their example script is separated out into three PHP files - the main part of the script, a single-use script that, in turn, creates the third file, include file for the encode/decode functions. With the structure defined, they move on to the code - the generation of the file with the large multi-dimensional array and the two functions to encode and decode the information.
</p>]]></description>
      <pubDate>Fri, 11 May 2007 07:20:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP Security Tip #19 (Securing Your Connection)]]></title>
      <guid>http://www.phpdeveloper.org/news/7530</guid>
      <link>http://www.phpdeveloper.org/news/7530</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted their <a href="http://devzone.zend.com/node/view/id/1871">latest security tip</a> today - this time dealing with the actual connection your application sits on (from <i>Chris Hartjes</i>).
</p>
<blockquote>
<p>
The most secure application is one with no connection to the outside world.
</p>
<p>
As we've covered, you can't really disconnect the network from your web server if you are building web applications. You can however, carefully consider which servers need to be connected to the outside world and which can be inside your firewall. Beyond that, you can also evaluate how those servers that have to remain outside your firewall communicate with the ones inside.
</p>
</blockquote>
<p>
No, <a href="http://devzone.zend.com/node/view/id/1871">his suggestion</a> is not to take your application "off the grip" but more to limit access to things like database servers to help protect the data that lives inside it.
</p>]]></description>
      <pubDate>Thu, 29 Mar 2007 12:36:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog: Is your website secure?]]></title>
      <guid>http://www.phpdeveloper.org/news/7468</guid>
      <link>http://www.phpdeveloper.org/news/7468</link>
      <description><![CDATA[<p>
In the spirit of the <a href="http://www.php-security.org/">Month of PHP Bugs</a> going on right now (March 2007), <i>Justin Silverton</i> has <a href="http://www.whenpenguinsattack.com/2007/03/20/is-your-website-secure/">spotlighted just a few</a> of them in a new entry to the JSLabs blog today.
</p>
<p>
He mentions issues like:
<ul>
<li>a <a href="http://www.php-security.org/MOPB/code/MOPB-25-2007.php">header() issue</a> that results from a call to it with an all-whitespace string
<li>a <a href="http://www.php-security.org/MOPB/code/MOPB-23-2007.php">session issue</a> in PHP5 where an identifier isn't freed correctly
<li>and an issue with the compress.bzip2 URL wrapper not following safe_mode or open_basedir restrictions (already corrected).
</ul>
These are just a few of the bugs that have been reported during the month-long event, so check out <a href="http://www.php-security.org/">php-security.org</a>. He also points to the <a href="http://www.hardened-php.net/suhosin/index.html">Suhosin patch</a> that can help alleviate some of these issues.
</p>]]></description>
      <pubDate>Wed, 21 Mar 2007 08:12:00 -0500</pubDate>
    </item>
  </channel>
</rss>
