<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php&#124;architect - The site for PHP professionals &#187; google</title>
	<atom:link href="http://www.phparch.com/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phparch.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:11:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Google&#039;s new microblogging tool has lots of security holes&#8230;on purpose</title>
		<link>http://www.phparch.com/2010/05/googles-new-microblogging-tool-has-lots-of-security-holes-on-purpose/</link>
		<comments>http://www.phparch.com/2010/05/googles-new-microblogging-tool-has-lots-of-security-holes-on-purpose/#comments</comments>
		<pubDate>Wed, 26 May 2010 13:00:57 +0000</pubDate>
		<dc:creator>Carl Anderson</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.phparch.com/?p=5420</guid>
		<description><![CDATA[Google Labs, in cooperation with Google Code University, has released a new microblogging tool called Jarlsberg, and like its namesake cheese, it's full of holes. Security holes. Google hopes you use Jarlsberg to learn best practices on how to make your own software more secure.]]></description>
			<content:encoded><![CDATA[<p><a href="http://beta.phparch.com/wp-content/uploads/2010/05/jarlsberg1.png"><img src="http://beta.phparch.com/wp-content/uploads/2010/05/jarlsberg1.png" alt="" title="jarlsberg" width="150" height="126" class="alignleft size-full wp-image-5419" /></a> Google recently released a <a href="http://google-opensource.blogspot.com/2010/04/dont-copy-this-code.html">new microblogging tool called Jarlsberg</a>. Ordinarily, Google&#8217;s stuff is software <em>par excellence,</em> but in this case, Jarlsberg, like its namesake cheese, is full of holes&mdash;in this case, security holes.</p>
<p>And Google&#8217;s done this on purpose.</p>
<p>It&#8217;s all part of how <a href="http://www.googlelabs.com/">Google Labs</a> and <a href="http://code.google.com/edu">Google Code University</a> are educating Web developers on how to make their Web applications more secure. Jarlsberg is much more than a buggy microblogging tool; it&#8217;s an entire lesson on what Web developers, no matter their level of security skill, need to look out for when writing code.  Google provides developers with the Jarlsberg code, and has a step-by-step walkthrough on security issues present in the system: everything from cross-site scripting (XSS) attacks to client-state manipulation (e.g. elevation of privilege), to denial of service and AJAX vulnerabilities.  When going through the walkthrough, you&#8217;ll see white or black &#8220;cheese&#8221; icons, indicating whether you&#8217;re putting on your white hat (actually looking at the code in question) or your black one (poking and prodding, experimenting to see what happens) to test the vulnerabilities of Jarlsberg.</p>
<p>The code is written in Python, but for us PHP programmers, it&#8217;s not hard to see what&#8217;s going on even if you don&#8217;t have much familiarity with Python.  What&#8217;s important, in any event, is the lesson&mdash;not the programming language it was written in.</p>
<p>And indeed, the lessons that Jarlsberg teaches are exceedingly important.  Many of the issues are cleared up by extending the code just a bit; for example, instead of creating a black list of disallowed HTML tags for posts, it might be better to create a white list to better catch malicious behavior.  As my fellow blogger Keith Casey reminded us, <a href="http://www.phparch.com/2010/04/29/less-code-isnt-always-better/">less code isn&#8217;t always better</a>&mdash;and when it comes to security, that notion is quite important.</p>
<p>I highly encourage you to go through the entire walkthrough; it might take you a while to do so, but it&#8217;s well-written and, frankly, rather engaging.  I have little to no experience in the realm of Web security, and I learned a lot about how simple mistakes can be easily exploited&mdash;and this in just the first few pages of the lesson.</p>
<p>After you&#8217;ve finished the walkthrough, let us know (in the comments) what you got out of it, and how you&#8217;re applying those lessons to your own PHP software projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phparch.com/2010/05/googles-new-microblogging-tool-has-lots-of-security-holes-on-purpose/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Jam 2010 Open for Registration</title>
		<link>http://www.phparch.com/2010/04/code-jam-2010-open-for-registration/</link>
		<comments>http://www.phparch.com/2010/04/code-jam-2010-open-for-registration/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 20:05:00 +0000</pubDate>
		<dc:creator>Joel Clermont</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.phparch.com/?p=4786</guid>
		<description><![CDATA[Do you enjoy programming, puzzles and some friendly competition? If so, you may be interested in registering for this year's Code Jam.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Code Jam logo" src="http://code.google.com/codejam/contest/static/logo_image2.gif" alt="" width="150" height="56" /></p>
<p>Google has just <a href="http://code.google.com/codejam">opened registration</a> for Code Jam 2010. If you&#8217;ve never heard of it before, you are probably wondering what it is and why you should care. Code Jam is an annual programming competition sponsored by Google. The top 25 scores receive cash prizes and if you make it to the final round, they fly you to their offices to compete on site. This year, the finals are being held in Dublin!</p>
<p>For specifics on when the various rounds are scheduled and how to advance to each round, <a href="http://code.google.com/codejam/rules.html">check the rules page</a>. If you&#8217;re curious what types of problems you may face and want to <a href="http://code.google.com/codejam/contest">get some practice</a>, you can review problems and solutions from previous years.</p>
<p>As a reader of this blog, you probably have more than a passing interest in PHP. Code Jam allows you to devise solutions in PHP, and just about any other language imaginable. <a href="http://www.go-hero.net/jam/09/languages/0">Analysis of previous years&#8217; solutions</a> shows that there is a small group of PHP coders participating. However, our language of choice was upstaged by Ruby and—GASP!—Perl.</p>
<p>Let&#8217;s show how clever PHP programmers can be and make sure we are properly represented this year. If you plan on participating and using PHP, please leave a comment including your Code Jam user name. While collaboration during the contest is strictly forbidden, you can follow everyone&#8217;s progress and cheer your fellow PHPers on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phparch.com/2010/04/code-jam-2010-open-for-registration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google releases skipfish</title>
		<link>http://www.phparch.com/2010/03/google-releases-skipfish/</link>
		<comments>http://www.phparch.com/2010/03/google-releases-skipfish/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 15:30:42 +0000</pubDate>
		<dc:creator>Marco Tabini</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://www.phparch.com/?p=4441</guid>
		<description><![CDATA[Google has released a web applications scanner that automatically outlines security issues.]]></description>
			<content:encoded><![CDATA[<p><a href="http://beta.phparch.com/wp-content/uploads/2010/03/google_logo1.gif"><img class="alignleft size-full wp-image-4447" title="google_logo" src="http://beta.phparch.com/wp-content/uploads/2010/03/google_logo1.gif" alt="" width="150" height="60" /></a>This Friday Google <a title="skipfish release announcement" href="http://googleonlinesecurity.blogspot.com/2010/03/meet-skipfish-our-automated-web.html">has publicly released</a> <a title="skipfish on Google code" href="http://code.google.com/p/skipfish/">skipfish</a>, a free security tool which scans web applications looking for vulnerabilities. Google again shows its effort in enhancing the security of web platforms after the 2008 release of <a title="ratrproxy on Google code" href="http://code.google.com/p/ratproxy/">ratproxy</a>, a similar tool focused on non-disruptive testing and high yield from a low traffic footprint.</p>
<p>The idea behind skipfish consists in recursively crawling a web applications, following links and forms which lead to targets in the current host. The output is a generated sitemap whose nodes are annotated with possible security issues found via heuristics run on the behavior and content encountered. For example, skipfish points out shell command and <a title="SQL injection definition" href="http://en.wikipedia.org/wiki/SQL_injection">SQL injection</a> vectors by injecting typical patterns and looking for error conditions in the response.</p>
<h2>Technology</h2>
<p>skipfish is written in pure C, with a custom http stack to perform blazingly fast (up to 2000 requests per second have been reported on local instances.) The source code can be compiled on POSIX-compliant systems, so that skipfish runs on Linux, Mac OS X and Windows via cygwin.<br />
skipfish emulates http authentication and session cookies in its generated requests, and can exclude a set of predefined urls such as logout pages and static content. The result of a completed scan is a json data structure available for further processing. The json data source is animated via a javascript-powered html report for the end-user&#8217;s pleasure.</p>
<h2>Usage</h2>
<p>skipfish is definitely one of the tools to keep in the web developer box. No security tool, and particularly  a scanner, should be employed single-handedly: there are vulnerabilities which are impossible or non practical to test remotely (see <a title="Buffer overflow definition" href="http://en.wikipedia.org/wiki/Buffer_overflow">buffer overflows</a>) and have been deliberately left out from skipfish&#8217;s vision, as known limitations.<br />
A combination of several tools could instead be helpful: nowadays more and more software is being transported on the cloud, and the web has evolved from a browsing platform to a full-featured set of remote applications, whose field Google leads with Gmail, Google Docs and its other products. Automated scanning is one of the ways to go to outline critical entry-points while optimizing the time spent on analysis.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phparch.com/2010/03/google-releases-skipfish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

