<?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>kushalm.com &#187; Security</title>
	<atom:link href="http://kushalm.com/category/programming/security/feed" rel="self" type="application/rss+xml" />
	<link>http://kushalm.com</link>
	<description></description>
	<lastBuildDate>Wed, 08 Sep 2010 18:37:16 +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>Are Pro Web Developers somewhat under-informed?</title>
		<link>http://kushalm.com/are-pro-web-developers-somewhat-um-under-informed</link>
		<comments>http://kushalm.com/are-pro-web-developers-somewhat-um-under-informed#comments</comments>
		<pubDate>Mon, 11 Jun 2007 20:59:30 +0000</pubDate>
		<dc:creator>kushal</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://kushalm.com/?p=3</guid>
		<description><![CDATA[Everything he said seemed pretty basic to me. I mean anyone other than an absolute script/html kiddie should be making any of those mistakes.]]></description>
			<content:encoded><![CDATA[<p>I was over at a Microsoft User Group conference the other day and was pretty amazed at one of the presentations. It was entitled &#8220;Hacking websites for fun and profit&#8221;<br />
It was about (what seemed to me to be) pretty basic stuff. Things like:</p>
<ul>
<li>Don’t rely on javascript based client side validation.</li>
<li>Don’t rely on HTML based client side validation (things like the MAXLENGTH attribute on texboxes)</li>
<li>Avoid XSS attacks by HTMLEncoding your data when displaying them &#8211; especially if its user-entered.</li>
<li>Escape data that you will be concatenating in an SQL statement to avoid SQL injection attacks.</li>
<li>When it comes to data that is your own (e.g. price of a certain item in a shopping cart app) as opposed to data entered by the user (e.g. how many items the user wished to buy) don&#8217;t rely on form based or Querystring based data as these can be changed just by using a tool like Fiddler, or just saving the HTML locally and editing it.</li>
<li>Don’t rely on HTTP headers like <a href="http://tools.ietf.org/html/rfc2616#section-14.36" title="http://tools.ietf.org/html/rfc2616#section-14.36" target="_blank">Referer</a> (sic) for any kind of validation.</li>
</ul>
<p>I was hoping for somewhat more from the presentation. In fact, it would be fair to say I was quite disappointed. <strike>Almost</strike> Everything he said seemed pretty basic to me. I mean anyone other than an absolute script/html kiddie should be making any of those mistakes.<br />
Are paid professionals actually stupid enough to make such basic mistakes that it would warrant a whole presentation just on these fundamentals? (He was saying how he&#8217;s been making several presentations on the same subject all over the place. And this was a conference arranged for professionals .. certainly not a bunch of n00bs.) Most of the audience seemed impressed. Well certainly not as unimpressed as I was.<br />
So what’s going on?</p>
<p>I don’t mean to take anything away from the presenter <a href="http://idunno.org" target="_blank">Barry Dorrans</a>, though.</p>
<hr />
EDIT:<br />
BTW, if that sounds like I was saying that the presentation was ineffectual or a waste of time or something like that, its mostly because my writing skills are about as well developed as <a href="http://www.craigslist.org">Craig Newmark&#8217;s</a> aesthetic talent.<br />
I was merely amazed that so many folks exist who make their living writing applications for the web, and yet don’t know this stuff. But, because that <em>is </em>a sad fact, (and also because not everyone is <strike>amassing a vast fortune by</strike> writing web apps &#8230; yet) people ought to be paying more attention to what guys like <a href="http://idunno.org" target="_blank">Barry</a> have to say.</p>
]]></content:encoded>
			<wfw:commentRss>http://kushalm.com/are-pro-web-developers-somewhat-um-under-informed/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

