<?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, 24 May 2012 09:17:21 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Script-Tutorials.com: Protection and Methodologies of Security Vulnerabilities in Web Development]]></title>
      <guid>http://www.phpdeveloper.org/news/16731</guid>
      <link>http://www.phpdeveloper.org/news/16731</link>
      <description><![CDATA[<p>
On the Script Tutorials blog today there's a good summary post reminding you of some of the <a href="http://www.script-tutorials.com/security-vulnerabilities-in-web-development-and-how-they-work/">common security issues</a> that your web application can face, mostly due to improper validation and filtering.
</p>
<blockquote>
Our new article focuses on security in web. Many beginners (and not only) web programmers sometimes can make mistakes when developing its web applications. Our article is intended to eliminate potential gaps in knowledge web developers. It is quite possible that you already know something, but I'll be incredibly happy if you learn anything new. Today we learn about most popular exploits (with samples).
</blockquote>
<p>Security issues that made their list include:</p>
<ul>
<li>SQL injections
<li>Cross-site scripting/Cross-site Request Forgeries
<li>Remote & local file inclusion
<li>Displaying errors on production
<li>Including .svn (or any version control meta) files in the production release
</ul>]]></description>
      <pubDate>Wed, 17 Aug 2011 11:16:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jason Stiles' Blog: How To Protect Your Site From XSS With PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16458</guid>
      <link>http://www.phpdeveloper.org/news/16458</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Jason Stiles</i> takes a look at some of the things you can do with PHP to help <a href="http://jstiles.com/Blog/How-To-Protect-Your-Site-From-XSS-With-PHP">protect your site from XSS</a> (cross-site scripting attacks) with some basic filtering.
</p>
<blockquote>
Cross-Site Scripting (XSS) is a type of attack where a hacker attempts to inject client-side scripting into a webpage that others are able to view.  The attack could be as simple as an annoying alert window or as sophisticated as stealing a logged in user's credentials (commonly saved in browser cookies). [...] Since these types of user input can immediately be displayed to other user's, the attack could be spread pretty quickly and even without your knowledge. 
</blockquote>
<p>
He provides a basic function to get you started filtering the input from your users - a "xss_protect" method that takes in the data, whether to strip HTML tags or not and an optional set of allowed tags if you do. He also asks for opinions and better methods in his comments:
</p>
<blockquote>
No solution is going to be perfect, but at least now you have a head start!  If you have ways of improving this function, let myself and everyone else know in <a href="http://jstiles.com/Blog/How-To-Protect-Your-Site-From-XSS-With-PHP#comments">the comments</a>. 
</blockquote>]]></description>
      <pubDate>Mon, 13 Jun 2011 09:40:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Development Blog: E-mail links, protective solutions against SPAM]]></title>
      <guid>http://www.phpdeveloper.org/news/14039</guid>
      <link>http://www.phpdeveloper.org/news/14039</link>
      <description><![CDATA[<p>
In a recent post to the Web Development Blog they talks a look at some methods you can use on your site to help reduce the amount of spam sent to email addresses by <a href="http://www.web-development-blog.com/archives/e-mail-links-protective-solutions-against-spam/">protecting them from scripts that might harvest them</a> right from the page.
</p>
<blockquote>
There are lots of spam bots checking the Internet for email addresses on regular websites, forums, blog and mailing lists. Once caught by some spam bot your mailbox is in need of a strong spam filter or sometimes it might be better to use a new e-mail address. In this article we show you different ways, how you're able to show your e-mail address to human visitors and hide it for spam bots. 
</blockquote>
<p>
They give four solutions, some a bit more practical than others - using an image instead of the text-only version of the address, hiding the @ symbol, hiding it with PHP (converting it to ASCII) and using Javascript to handle it similarly.
</p>]]></description>
      <pubDate>Wed, 17 Feb 2010 08:28:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Juozas Kaziukenas' Blog: HTML filtering and XSS protection]]></title>
      <guid>http://www.phpdeveloper.org/news/12186</guid>
      <link>http://www.phpdeveloper.org/news/12186</link>
      <description><![CDATA[<p>
<i>Juozas Kaziukenas</i> has <a href="http://dev.juokaz.com/php/html-filtering-and-xss-protection">an example</a> of how to keep you and your application's data safe from prying eyes by filtering input with the <a href="http://htmlpurifier.org/">HTML_Purifier</a> package.
</p>
<blockquote>
It's really hard to decide what data is acceptable, especially when user has permission to insert HTML content through form. [...] However, problem can be solved, and quite easily. Almost a year ago I was reading some random blog when I find out about <a href="http://htmlpurifier.org/">HTML Purifier</a>. Basically, it's library which can filter and fix any HTML. 
</blockquote>
<p>
He gives an example - running a web scraping tool against a site with malformed HTML. By running it through the HTML_Purifier package first, the errors were corrected and the "more correct" HTML source could be parsed easily. The package also helps to protect from XSS attacks via a <a href="http://htmlpurifier.org/live/smoketests/xssAttacks.php">whole set of filters</a> included by default.
</p>]]></description>
      <pubDate>Mon, 23 Mar 2009 10:21:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Esser's Blog: Suhosin 0.9.21 - XSS Protection]]></title>
      <guid>http://www.phpdeveloper.org/news/9151</guid>
      <link>http://www.phpdeveloper.org/news/9151</link>
      <description><![CDATA[<p>
<i>Stefan Esser</i> has <a href="http://blog.php-security.org/archives/94-Suhosin-0.9.21-XSS-Protection.html">posted about</a> the release of the latest version of the <a href="http://www.suhosin.org/">Suhosin</a> security patch for PHP - version 0.9.21.
</p>
<blockquote>
It has been a very long time since the last Suhosin extension has been released, but today this has changed with the release of <a href="http://www.suhosin.org/">Suhosin 0.9.21</a>. Among the changes are two new features that will protect applications that put to much trust into the SERVER variables from several XSS (and SQL injection) attacks. These features are suhosin.server.strip and suhosin.server.encode.
</blockquote>
<p>
He details <a href="http://blog.php-security.org/archives/94-Suhosin-0.9.21-XSS-Protection.html">these two features</a> and gives examples of what they protect from. You can find out more about the Suhosin patch on <a href="http://www.suhosin.org/">its website</a>.
</p>]]></description>
      <pubDate>Fri, 30 Nov 2007 11:17:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Security Blog: Suhosin 0.9.15 comes with Transparent phpinfo() Protection]]></title>
      <guid>http://www.phpdeveloper.org/news/6791</guid>
      <link>http://www.phpdeveloper.org/news/6791</link>
      <description><![CDATA[<p>
According to <a href="http://blog.php-security.org/archives/52-Suhosin-0.9.15-comes-with-Transparent-phpinfo-Protection.html">this new post</a> on the PHP Security Blog, there's a new META tag the <a href="http://www.hardened-php.net/suhosin/index.html">Suhosin extension</a> includes in the output of a phpinfo page to help resolve some of the issues with Google (and buddies) storing the contents of the page, giving a potential attacker information they could exploit.
</p>
<blockquote>
[The] extra META TAG to the HTML output of phpinfo() that forbids indexing and archiving by robots. For fairness reasons following the embedded links is still allowed to robots, because a lot of projects [...] to get at least a few backlinks for their work, that might result in a better search engine positioning.
</blockquote>
<p>
The patch can be downloaded <a href="http://www.hardened-php.net/suhosin/index.html">from their site</a>.
</p>]]></description>
      <pubDate>Wed, 29 Nov 2006 10:43:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Pro PHP Security  /  Preventing SQL Injection, Part 3]]></title>
      <guid>http://www.phpdeveloper.org/news/6715</guid>
      <link>http://www.phpdeveloper.org/news/6715</link>
      <description><![CDATA[<p>
PHPBuilder.com continues their look at preventing SQL injections in your PHP scripts with <a href="http://www.phpbuilder.com/columns/ProPHPSecurity_excerpt_part3.php3">this new tutorial</a>, the third part of the excerpts from the APress book <a href="http://www.apress.com/book/bookDisplay.html?bID=437">Pro PHP Security</a>.
</p>
<p>
They pick up where they left off <a href="http://www.phpdeveloper.org/news/6672">last time</a> with the creation of an abstraction layer for your application to act as a go-between and filter out possible bad data. They give examples of how to use it to secure a new application, use abstraction libraries like the PearDB functionality, and how to test your application's protection.
</p>]]></description>
      <pubDate>Wed, 15 Nov 2006 15:01:08 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: EncoderCompare.com Launched]]></title>
      <guid>http://www.phpdeveloper.org/news/6243</guid>
      <link>http://www.phpdeveloper.org/news/6243</link>
      <description><![CDATA[<p>
When it comes to protecting your code, you definitely want to find the right product for your needs. Finding the information on all of the encoders out there can be a task in itself, though. Fortunately, <a href="http://www.encodercompare.com/">EncoderCompare.com</a> has been created to give you a quick and easy reference.
</p>
<blockquote>
<p>
Whilst we would always recommend the use of the ionCube Encoder product to protect your PHP source code when distributing your product to customers and users, there are several other products available to choose from.
</p>
<p>
To help with this, we have launched a comparison website which lists the available encoders and compares their features. The feature set is standardised so that it is possible to compare like for like in a clear manner.
</p>
</blockquote>
<p>
Currently, there's <a href="http://www.encodercompare.com/">fifteen encoders listed</a> with all of their stats - protection types, restrictions available, what OSes it has loaders for, the availability of licensing, and the pricing. There's links to get more specific information on each as well.
</p>]]></description>
      <pubDate>Mon, 11 Sep 2006 11:06:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hardened-PHP Project: Suhosin (Advanced PHP Protection)]]></title>
      <guid>http://www.phpdeveloper.org/news/6095</guid>
      <link>http://www.phpdeveloper.org/news/6095</link>
      <description><![CDATA[<p>
In the ongoing quest of the guys over on the Hardened-PHP project to help protect PHP installs from the evils of the internet, there's a new project in development that could help make even more PHP installations more secure - <a href="http://www.hardened-php.net/suhosin/index.html">Suhosin</a>.
</p>
<blockquote>
<p>
<a href="http://www.hardened-php.net/suhosin/index.html">Suhosin</a> is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. 
</p>
<p>
The first part is a small patch against the PHP core, that implements a few low-level protections against bufferoverflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections.
</p>
<p>
Unlike our <a href="http://www.hardened-php.net/hphp/">Hardening-Patch</a> <a href="http://www.hardened-php.net/suhosin/index.html">Suhosin</a> is binary compatible to normal PHP installation, which means it is compatible to 3rd party binary extension like ZendOptimizer.
</p>
</blockquote>
<p>
There's already some information on the project posted on <a href="http://www.hardened-php.net/suhosin/index.html">its homepage</a>, but since it's still a beta preview of the code, the feature list and documentation isn't complete. If you'd like to check out this project in its early stages and see what it's all about, a great place to start is the <a href="http://www.hardened-php.net/suhosin/index.html#read_more">current information</a> including links to the downloads and how to get it set up on your install.
</p>]]></description>
      <pubDate>Mon, 21 Aug 2006 08:35:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Markus Wolff's Blog: Zend Framework CLA]]></title>
      <guid>http://www.phpdeveloper.org/news/5714</guid>
      <link>http://www.phpdeveloper.org/news/5714</link>
      <description><![CDATA[<p>
<i>Markus Wolff</i> takes a look at a part of the setup surrounding the Zend Framework in <a href="http://blog.wolff-hamburg.de/archives/4-Zend-Framework-CLA.html">this blog post</a> today - the Framework's CLA.
</p>
<blockquote>
<p>
Contributors to the Zend Framework must first sign a Contributor License Agreement (CLA) before they're allowed to commit anything. This is claimed to make the Zend Framework "IP clean", so big corporations have no problem adopting it.
</p>
<p>
I've never believed in this proclaimed need of being "IP clean". Maybe that's because stealing someone's proprietary code never came to mind - am I just to good a person? However, in a world where in certain strange countries (I won't drop any names here) you can actually patent software - or worse, ideas - it is increasingly difficult to write a single line of code that you can be sure of not violating anyone else's so-called intellectual property.
</p>
</blockquote>
<p>
He <a href="http://blog.wolff-hamburg.de/archives/4-Zend-Framework-CLA.html">quotes from the CLA's FAQ</a> on the Framework site about the protection this CLA offers to both the Framework and to the developers that contribute to it.
</p>
<p>
His rebuttal is one of "how can this be enforced?", which, of course, he realizes is just not possible. He casts a "marketing first" light on the CLA, suggesting that it's just a way to help sell it to corporations.
</p>]]></description>
      <pubDate>Wed, 28 Jun 2006 06:31:09 -0500</pubDate>
    </item>
  </channel>
</rss>

