<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>chipster &#187; ColdFusion</title>
	<atom:link href="http://chipster621.wordpress.com/category/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://chipster621.wordpress.com</link>
	<description>Just some little notes</description>
	<lastBuildDate>Mon, 01 Jun 2009 20:38:27 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='chipster621.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/0e12ee03797edbda41cc5e4c23dcaea8?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>chipster &#187; ColdFusion</title>
		<link>http://chipster621.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://chipster621.wordpress.com/osd.xml" title="chipster" />
		<item>
		<title>Display information for a specified date range</title>
		<link>http://chipster621.wordpress.com/2008/05/12/display-information-for-a-specified-date-range/</link>
		<comments>http://chipster621.wordpress.com/2008/05/12/display-information-for-a-specified-date-range/#comments</comments>
		<pubDate>Tue, 13 May 2008 00:51:45 +0000</pubDate>
		<dc:creator>chipster621</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://chipster621.wordpress.com/2008/05/12/display-information-for-a-specified-date-range/</guid>
		<description><![CDATA[Use a cfif statement and a couple of functions so you can have information appear/disappear based on the date:
Functions used:

now()
the date and time right now.
createdate ( year, month, day )
The date with the supplied year, month and day.
createDateTime (year, month, day, hour, minute, second)
get specific with the date and time.

Example: show information as long as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chipster621.wordpress.com&blog=11753&post=13&subd=chipster621&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Use a cfif statement and a couple of functions so you can have information appear/disappear based on the date:</p>
<p>Functions used:</p>
<ul>
<li>now()<br />
the date and time right now.</li>
<li>createdate ( <em>year</em>,<em> month</em>,<em> day</em> )<br />
The date with the supplied year, month and day.</li>
<li>createDateTime (<em>year</em>, <em>month</em>, <em>day</em>, <em>hour</em>, <em>minute</em>, <em>second</em>)<br />
get specific with the date and time.</li>
</ul>
<p>Example: show information as long as the current date is before June 1<sup>st</sup> 2008. (until 11:59pm 5/31/2008).<br />
<em>There’s a deadline for the published information.</em></p>
<blockquote><p>&lt;cfif now() LT createdate(2008,6,1)&gt;<br />
<em>Show this information<br />
</em>&lt;/cfif&gt;</p></blockquote>
<p>Example: show information only during the first seven days of June 2008<br />
<em>The information isn’t valid until a future date, and there’s a time limit on the information.</em></p>
<blockquote><p>&lt;cfif now() GT createdate(2008,5,31) AND now() LT createdate(2008,6,8)&gt;<br />
<em>Show this information<br />
</em>&lt;/cfif&gt;</p></blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chipster621.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chipster621.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chipster621.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chipster621.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chipster621.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chipster621.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chipster621.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chipster621.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chipster621.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chipster621.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chipster621.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chipster621.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chipster621.wordpress.com&blog=11753&post=13&subd=chipster621&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chipster621.wordpress.com/2008/05/12/display-information-for-a-specified-date-range/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f599b3c6f63d510a1c78ea72a9d4f88c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chipster621</media:title>
		</media:content>
	</item>
		<item>
		<title>Preventing an SQL Injection Attack</title>
		<link>http://chipster621.wordpress.com/2006/02/13/preventing-an-sql-injection-attack/</link>
		<comments>http://chipster621.wordpress.com/2006/02/13/preventing-an-sql-injection-attack/#comments</comments>
		<pubDate>Tue, 14 Feb 2006 00:53:05 +0000</pubDate>
		<dc:creator>chipster621</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[WebDevelopment]]></category>

		<guid isPermaLink="false">http://chipster621.wordpress.com/2006/02/13/preventing-an-sql-injection-attack/</guid>
		<description><![CDATA[Ben Forta&#8217;s blog has an entry about SQL injection attacks when using ColdFusion.  Manuals and tutorials never talk about preventing these types of attacks, so I&#8217;m not surprised that there are still vulnerable sites.
In short, the vulnerability occurs when a site uses data in the URL to dynamically alter the SQL statement. Using a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chipster621.wordpress.com&blog=11753&post=5&subd=chipster621&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ben Forta&#8217;s blog has an entry about SQL injection attacks when using ColdFusion.  Manuals and tutorials never talk about preventing these types of attacks, so I&#8217;m not surprised that there are still vulnerable sites.</p>
<p>In short, the vulnerability occurs when a site uses data in the URL to dynamically alter the SQL statement. Using a semicolon, allows a hacker to append another sql statement. This vulnerability occurs mostly with non-text fields. So anytime you&#8217;re referring to a key field which is usaually numeric.</p>
<p>The solution: (1) use cfparam to define the variable&#8217;s type, (2) the page should check that the url variable exists and makes sure it&#8217;s the expected type and (3) use cfqueryparam to explicitly define the varaiable&#8217;s value.</p>
<p>Resources:<br />
Ben&#8217;s Post: <a href="http://www.forta.com/blog/index.cfm/2005/12/21/SQL-Injection-Attacks-Easy-To-Prevent-But-Apparently-Still-Ignored">SQL Injection Attacks, Easy to Prevent, But Apparently Still Ignored.</a><br />
CF Cookbook post: <a href="http://coldfusioncookbook.com/entry/36/How-can-I-prevent-SQL-injection-attacks">How can I prevent SQL injection attacks?</a><br />
Macromedia Security bulletin <a href="http://chipster621.wordpress.com/wp-admin/www.macromedia.com/devnet/security/security_zone/asb99-04.html">ASB99-04 Multiple SQL statments in dynamic queries.</a><br />
<a href="http://coldfusioncookbook.com/entry/36/How-can-I-prevent-SQL-injection-attacks" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/chipster621.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/chipster621.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/chipster621.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chipster621.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/chipster621.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chipster621.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/chipster621.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chipster621.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/chipster621.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chipster621.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/chipster621.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chipster621.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=chipster621.wordpress.com&blog=11753&post=5&subd=chipster621&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://chipster621.wordpress.com/2006/02/13/preventing-an-sql-injection-attack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f599b3c6f63d510a1c78ea72a9d4f88c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chipster621</media:title>
		</media:content>
	</item>
	</channel>
</rss>