<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>riahmat1c &#187; meat and potatoes</title>
	<link>http://riah.mat1c.org</link>
	<description>web technology and security</description>
	<pubDate>Thu, 21 Feb 2008 20:47:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>So, you suck at web security&#8230;</title>
		<link>http://riah.mat1c.org/2008/02/04/you-suck-at-web-security/</link>
		<comments>http://riah.mat1c.org/2008/02/04/you-suck-at-web-security/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 01:42:07 +0000</pubDate>
		<dc:creator>riahmatic</dc:creator>
		
		<category><![CDATA[meat and potatoes]]></category>

		<category><![CDATA[webappsec]]></category>

		<guid isPermaLink="false">http://riah.mat1c.org/2008/02/04/you-suck-at-web-security/</guid>
		<description><![CDATA[Looking at the blog&#8217;s tag list so far, it seems my choice of topic has already become heavily fragmented. But I must return for a moment to the original reason I wanted to start this blog: security. Or more specifically, web application security. Until January of 2008, I suspect I was like most web developers [...]]]></description>
			<content:encoded><![CDATA[<p>Looking at the blog&#8217;s tag list so far, it seems my choice of topic has already become heavily fragmented. But I must return for a moment to the original reason I wanted to start this blog: security. Or more specifically, web application security. Until January of 2008, I suspect I was like most web developers with regards to security. (Perhaps I&#8217;m wrong about that and I just happen to be more naive than others, but I wouldn&#8217;t doubt there are still others who are more naive than I would appear to be.)</p>
<p>But anyway, sure, I hash my passwords with a salt before storing in the database, and yes, I make sure to check for quote marks in SQL query parameters. These are things we all do because it is common practice to do so. Every beginner&#8217;s tutorial and guide mentions these things, so we have grown up performing these actions to secure our code. But that doesn&#8217;t mean we understand the real dangers behind it. And that in turn means we will likely not notice a closely related but slightly different attack vector that could exploit our code, not to mention <a href="http://www.owasp.org/index.php/Top_10_2007#Summary">other vulnerabilities</a> that aren&#8217;t ever mentioned at all except in security related guides (<a href="http://ha.ckers.org/blog/20080202/csrf-yup-its-real-folks/">CSRF</a>? <a href="http://www.owasp.org/index.php/Cross_Site_Scripting">XSS</a>??).</p>
<p>The only reason I stumbled into <em>actual</em> web security consciousness was because of some <a href="http://www.thespanner.co.uk/2007/09/19/javascript-for-hackers/">catchy headline</a> in the search results for a totally unrelated query. Gareth&#8217;s post about JavaScript hacking immediately appealed to the coder in me. The strange looking mangling of the language was oddly appealing. &#8220;How the heck does that still run!&#8221;, I thought. It was only after <a href="http://www.thespanner.co.uk/2007/11/19/unusual-xss-vectors/">exploring</a> the <a href="http://www.thespanner.co.uk/2007/11/24/awesome-xss/">blog</a> a bit <a href="http://www.thespanner.co.uk/2007/12/12/javascript-for-hackers-part-2/">more</a> and the <a href="http://ha.ckers.org/">others</a> it <a href="http://www.0x000000.com/index.php">linked</a> <a href="http://www.gnucitizen.org/">to</a> did the situation begin to sink in. This was a whole other face of web applications I had never known about. It&#8217;s shocking that such a fundamental part had totally escaped me for so long (perhaps some people are just lazy, but I plead ignorance).</p>
<blockquote><p>&#8220;if today’s malware mostly runs on Windows because it’s the commonest executable platform, tomorrow’s will likely run on the Web, for the very same reason. Because, like it or not, Web is already a huge executable platform, and we should start thinking at it this way, from a security perspective.&#8221; <a href="http://hackademix.net/2008/01/12/malware-20-is-now/">Giorgio Maone</a></p></blockquote>
<p>Where security used to be a reactionary or routine action for me, it was a state of mind for these people. We often hear the cliche of &#8220;thinking like a hacker&#8221;, but really, security is only valued enough if you are always in that state of mind. They trust <strong>nothing</strong>! This is something that doesn&#8217;t happen quickly, either. Despite hours of reading <a href="http://www.gnucitizen.org/projects/for-my-next-trick-hacking-web20/">papers</a> and <a href="http://sla.ckers.org/forum/">discussions</a>, my first reaction to seeing a new technology is still &#8220;Wow, that would be a cool new feature to implement for users!&#8221; <em>Wrong</em>! The security researcher has already thought of several ways it could possibly be vulnerable and is now working out the details.</p>
<p>Once you make the transition in your state of mind, you can begin to make more informed decisions on where to compromise features for security (ehh, now I&#8217;m starting to sound like my professor). Of course, not everyone has the capability to keep up with both worlds (that&#8217;s where the experts can make their dough), but an understanding of the dangers should at least be mandatory. The battle will always be features and functionality vs. security and privacy, but you should at least know what&#8217;s at stake before picking a side (or letting the hacker pick for you).</p>
<p>So, I suppose my reason for starting this blog is to document one developers transition from <em>pure developer</em> to <em>security conscious developer</em> in hopes that someone else might read it and gain something for them self. At my current level of experience, this is probably the best contribution I can give to the field right now. I haven&#8217;t seen many blogs easy to digest for beginners of webappsec like me, so I hope this one may help in that regard. Thanks for reading.</p>
<p>(Of course, I&#8217;m still going to post other things I come up with or find interesting, but emphasis is on webappsec.)</p>
]]></content:encoded>
			<wfw:commentRss>http://riah.mat1c.org/2008/02/04/you-suck-at-web-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple Anonymous Browsing</title>
		<link>http://riah.mat1c.org/2008/02/03/simple-anonymous-browsing/</link>
		<comments>http://riah.mat1c.org/2008/02/03/simple-anonymous-browsing/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 01:37:26 +0000</pubDate>
		<dc:creator>riahmatic</dc:creator>
		
		<category><![CDATA[meat and potatoes]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://riah.mat1c.org/2008/02/03/simple-anonymous-browsing/</guid>
		<description><![CDATA[I wanted to set up an environment for anonymous internet browsing and found it devastatingly simple in Ubuntu 7.10. Just install Tor, Privoxy, and a Firefox extension.
Install Tor and Privoxy from command line:
sudo apt-get install tor privoxy
Open Privoxy config file:
sudo gedit /etc/privoxy/config
Add this line to end of the file and save:
forward-socks4a / localhost:9050 .
Start both [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to set up an environment for anonymous internet browsing and found it devastatingly simple in Ubuntu 7.10. Just install Tor, Privoxy, and a Firefox extension.</p>
<p>Install Tor and Privoxy from command line:</p>
<pre><code>sudo apt-get install tor privoxy</code></pre>
<p>Open Privoxy config file:</p>
<pre><code>sudo gedit /etc/privoxy/config</code></pre>
<p>Add this line to end of the file and save:</p>
<pre><code>forward-socks4a / localhost:9050 .</code></pre>
<p>Start both services:</p>
<pre><code>sudo /etc/init.d/tor start
sudo /etc/init.d/privoxy start</code></pre>
<p>Now you can install the <a href="https://addons.mozilla.org/firefox/2275">Tor Button</a> Firefox extension to turn anonymous browsing on and off with the push of a button. More details (like disabling logs) and things you can do with Tor in Ubuntu <a href="https://help.ubuntu.com/community/TOR">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://riah.mat1c.org/2008/02/03/simple-anonymous-browsing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I put together my own custom style for t &#8230;</title>
		<link>http://riah.mat1c.org/2008/02/02/i-put-together-my-own-custom-style-for-t/</link>
		<comments>http://riah.mat1c.org/2008/02/02/i-put-together-my-own-custom-style-for-t/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 21:59:43 +0000</pubDate>
		<dc:creator>riahmatic</dc:creator>
		
		<category><![CDATA[meat and potatoes]]></category>

		<category><![CDATA[mat1c.org]]></category>

		<guid isPermaLink="false">http://riah.mat1c.org/2008/02/02/i-put-together-my-own-custom-style-for-t/</guid>
		<description><![CDATA[I put together my own custom style for the Prologue theme I&#8217;m using. Definitely feels more homely now.
I like Prologue because you can post quick Twitter-like updates easily, and I&#8217;d rather rather do that than post nothing at all between more involved posts. Yeah, microblogging. I&#8217;ve seperated the posts into two categories: the meat and [...]]]></description>
			<content:encoded><![CDATA[<p>I put together my own custom style for the <a href="http://wordpress.com/blog/2008/01/28/introducing-prologue/">Prologue</a> theme I&#8217;m using. Definitely feels more homely now.</p>
<p>I like Prologue because you can post quick Twitter-like updates easily, and I&#8217;d rather rather do that than post nothing at all between more involved posts. Yeah, microblogging. I&#8217;ve seperated the posts into two categories: the <a href="http://riah.mat1c.org/eat/meatandpotatoes/">meat and potatoes</a> and the <a href="http://riah.mat1c.org/eat/carrots/">carrots</a>. Odd semantics, sure, but the RSS URLs are <a href="http://riah.mat1c.org/eat/meatandpotatoes/feed/">interesting</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://riah.mat1c.org/2008/02/02/i-put-together-my-own-custom-style-for-t/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XFN&#8230; for non-human relationships?</title>
		<link>http://riah.mat1c.org/2008/02/01/6/</link>
		<comments>http://riah.mat1c.org/2008/02/01/6/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 21:44:46 +0000</pubDate>
		<dc:creator>riahmatic</dc:creator>
		
		<category><![CDATA[meat and potatoes]]></category>

		<category><![CDATA[dataportability]]></category>

		<category><![CDATA[microformats]]></category>

		<guid isPermaLink="false">http://riah.mat1c.org/2008/02/01/6/</guid>
		<description><![CDATA[Google just recently announced its Social Graph API. A big win for microformats and data portability, it seems. It demonstrates just how useful these formats are and how we can begin building decentralized social networks and applications.
It also got me thinking about the XFN microformat, which is tailored for relationships between people. But what about [...]]]></description>
			<content:encoded><![CDATA[<p>Google just recently announced its <a href="http://code.google.com/apis/socialgraph/">Social Graph API</a>. A big win for <a href="htp://microformats.org">microformats</a> and data portability, it seems. It demonstrates just how useful these formats are and how we can begin building decentralized social networks and applications.</p>
<p>It also got me thinking about the <a href="http://gmpg.org/xfn/">XFN</a> microformat, which is tailored for relationships between people. But what about relationships between people and, say, an organization? Or between organizations and other organizations? Some parameters could still work (you could have an org as a contact, and some people do seem to have crushes on companies) but would it be proper to use a format designed for human relationships for unintended purposes? The alternative answer would be to design additional formats for dealing with these types of relationships.</p>
<p><strong>Edit:</strong> As Andy points out, the creation of <a href="http://microformats.org/wiki/xpn">XPN</a> is being discussed for professional relationships. But still, what about non-human relationships? Is there potential value in describing those? I think so.</p>
]]></content:encoded>
			<wfw:commentRss>http://riah.mat1c.org/2008/02/01/6/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
