<?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>MaisonBisson.com &#187; web security</title>
	<atom:link href="http://maisonbisson.com/blog/post/tag/web-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://maisonbisson.com</link>
	<description>A bunch of stuff I would have emailed you about.</description>
	<lastBuildDate>Sat, 14 Nov 2009 20:14:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mark Jaquith On WordPress Security For Plugin Developers</title>
		<link>http://maisonbisson.com/blog/post/12243/mark-jaquith-on-wordpress-security-for-plugin-developers/</link>
		<comments>http://maisonbisson.com/blog/post/12243/mark-jaquith-on-wordpress-security-for-plugin-developers/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 18:15:20 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coding standards]]></category>
		<category><![CDATA[Mark Jaquith]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SQL injections]]></category>
		<category><![CDATA[web security]]></category>
		<category><![CDATA[WordCamp]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[XSRF]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/?p=12243</guid>
		<description><![CDATA[

I&#8217;ve been pretty aware of the risks of SQL injection and am militant about keeping my database interactions clean. Mark Jaquith today reminded me about the need to make sure my browser output is filtered through clean_url(), sanitize_url(), and attribute_escape(). Furthermore, we all need to remember current_user_can(), check_admin_referer(), and nonces.
]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-12243"><!-- &nbsp; --></abbr>
<p><a href="http://www.flickr.com/photos/maisonbisson/2772914796/" title="hardening plugins against acronym attacks by misterbisson, on Flickr"><img src="http://farm4.static.flickr.com/3145/2772914796_f25db56d47.jpg" width="500" height="374" alt="hardening plugins against acronym attacks" /></a></p>
<p>I&#8217;ve been pretty aware of the risks of SQL injection and am militant about keeping my database interactions clean. <a href="http://markjaquith.com/" title="Mark Jaquith">Mark Jaquith</a> <a href="http://2008.sf.wordcamp.org/">today</a> reminded me about the need to make sure my browser output is filtered through <code>clean_url()</code>, <code>sanitize_url()</code>, and <code>attribute_escape()</code>. Furthermore, we all need to remember <code>current_user_can()</code>, <a href="http://codex.wordpress.org/Function_Reference/check_admin_referer"><code>check_admin_referer()</code></a>, and <a href="http://codex.wordpress.org/Wordpress_Nonce_Implementation">nonces</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/12243/mark-jaquith-on-wordpress-security-for-plugin-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plan C: Signed JavaScripts</title>
		<link>http://maisonbisson.com/blog/post/10828/signed-javascripts/</link>
		<comments>http://maisonbisson.com/blog/post/10828/signed-javascripts/#comments</comments>
		<pubDate>Tue, 20 Sep 2005 16:17:09 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Libraries & Networked Information]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[cross domain]]></category>
		<category><![CDATA[cross domain script exclusion]]></category>
		<category><![CDATA[cross domain scripting]]></category>
		<category><![CDATA[internet security]]></category>
		<category><![CDATA[intranet environment]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript security]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[security components]]></category>
		<category><![CDATA[signed script]]></category>
		<category><![CDATA[signed scripts]]></category>
		<category><![CDATA[web scripting]]></category>
		<category><![CDATA[web security]]></category>
		<category><![CDATA[xdomain]]></category>
		<category><![CDATA[xmlhttprequest]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/?p=10828</guid>
		<description><![CDATA[
The Mozilla docs on JavaScript security give a hint of hope that signed scripts will work around the cross-domain script exclusions that all good browsers enforce. But an item at DevArticles.com throws water on the idea:
Signed scripts are primarily useful in an intranet environment; they’re not so useful on the Web in general. To see [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-10828"><!-- &nbsp; --></abbr>
<p>The Mozilla docs on <a href="http://www.mozilla.org/projects/security/components/jssec.html">JavaScript security</a> give a hint of hope that <a href="http://www.mozilla.org/projects/security/components/signed-scripts.html">signed scripts</a> will work around the cross-domain script exclusions that all <a href="http://browsehappy.com/">good browsers</a> enforce. But an item at <a href="http://www.devarticles.com/c/a/JavaScript/JavaScript-Security/3/">DevArticles.com</a> throws water on the idea:</p>
<blockquote><p>Signed scripts are primarily useful in an intranet environment; they’re not so useful on the Web in general. To see why this is, consider that even though you can authenticate the origin of a signed script on the Web, there’s still no reason to trust the creator. If you encounter a script signed by your company’s IT department, you can probably trust it without much risk. However, you’d have no reason to think that a party you don’t know—for example, a random company on the Web—is at all trustworthy. So they signed their JavaScript—that doesn’t mean it doesn’t try to do something malicious! And if it did, most users would have no way of knowing.</p></blockquote>
<p>In short, most browsers will pop up a scary looking security window asking the user what he or she want to do, and the chances of the user hitting the button marked “no, I don&#8217;t dare allow cross-domain XMLHTTPRequest calls” are at least 50-50. And, even if they weren&#8217;t, who would tolerate that message appearing regularly?</p>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">tags: <a href="http://www.technorati.com/tag/cross domain" rel="tag">cross domain</a>, <a href="http://www.technorati.com/tag/cross domain script exclusion" rel="tag">cross domain script exclusion</a>, <a href="http://www.technorati.com/tag/cross domain scripting" rel="tag">cross domain scripting</a>, <a href="http://www.technorati.com/tag/internet security" rel="tag">internet security</a>, <a href="http://www.technorati.com/tag/intranet environment" rel="tag">intranet environment</a>, <a href="http://www.technorati.com/tag/javascript" rel="tag">javascript</a>, <a href="http://www.technorati.com/tag/javascript security" rel="tag">javascript security</a>, <a href="http://www.technorati.com/tag/mozilla" rel="tag">mozilla</a>, <a href="http://www.technorati.com/tag/security" rel="tag">security</a>, <a href="http://www.technorati.com/tag/security components" rel="tag">security components</a>, <a href="http://www.technorati.com/tag/signed script" rel="tag">signed script</a>, <a href="http://www.technorati.com/tag/signed scripts" rel="tag">signed scripts</a>, <a href="http://www.technorati.com/tag/web scripting" rel="tag">web scripting</a>, <a href="http://www.technorati.com/tag/web security" rel="tag">web security</a>, <a href="http://www.technorati.com/tag/xdomain" rel="tag">xdomain</a>, <a href="http://www.technorati.com/tag/xmlhttprequest" rel="tag">xmlhttprequest</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/10828/signed-javascripts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>