<?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>Dileepstanley's Weblog &#187; sql injection</title>
	<atom:link href="http://dileepstanley.wordpress.com/category/sql-injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://dileepstanley.wordpress.com</link>
	<description>...........................................</description>
	<lastBuildDate>Wed, 18 Nov 2009 15:46:21 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dileepstanley.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e52e26723729e707c19566c89b496ac5?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Dileepstanley's Weblog &#187; sql injection</title>
		<link>http://dileepstanley.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dileepstanley.wordpress.com/osd.xml" title="Dileepstanley&#8217;s Weblog" />
		<item>
		<title>Prevent Some of the sql injection possiblities</title>
		<link>http://dileepstanley.wordpress.com/2008/06/23/prevent-some-of-the-sql-injection-possiblities/</link>
		<comments>http://dileepstanley.wordpress.com/2008/06/23/prevent-some-of-the-sql-injection-possiblities/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 09:29:03 +0000</pubDate>
		<dc:creator>dileepstanley</dc:creator>
				<category><![CDATA[asp site security]]></category>
		<category><![CDATA[sql injection]]></category>
		<category><![CDATA[sql server security]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://dileepstanley.wordpress.com/?p=6</guid>
		<description><![CDATA[hai
Yester day i red an article on http://forums.iis.net/p/1148917/1869844.aspx .This is about sql injection attackes.There i found some thing usefull for others who are trying to find some thing for prevent sql injection hacker attacks.
use [Master] 
GO
DENY SELECT ON [INFORMATION_SCHEMA].[TABLES] TO [Public]
DENY SELECT ON [INFORMATION_SCHEMA].[COLUMNS] TO [Public]
DENY SELECT ON [INFORMATION_SCHEMA].[VIEW_COLUMN_USAGE] TO [Public]
DENY SELECT ON [INFORMATION_SCHEMA].[CONSTRAINT_COLUMN_USAGE] TO [Public]
DENY [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dileepstanley.wordpress.com&blog=4000249&post=6&subd=dileepstanley&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>hai</p>
<p>Yester day i red an article on <a href="http://forums.iis.net/p/1148917/1869844.aspx">http://forums.iis.net/p/1148917/1869844.aspx</a> .This is about sql injection attackes.There i found some thing usefull for others who are trying to find some thing for prevent sql injection hacker attacks.</p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-US">use</span><span style="font-size:10pt;" lang="EN-US"> [Master] </span></span></p>
<p><span style="font-size:10pt;" lang="EN-GB"><span style="font-family:Times New Roman;">GO</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [INFORMATION_SCHEMA]<span style="color:gray;">.</span>[TABLES] <span style="color:blue;">TO</span> [Public]</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [INFORMATION_SCHEMA]<span style="color:gray;">.</span>[COLUMNS] <span style="color:blue;">TO</span> [Public]</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [INFORMATION_SCHEMA]<span style="color:gray;">.</span>[VIEW_COLUMN_USAGE] <span style="color:blue;">TO</span> [Public]</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [INFORMATION_SCHEMA]<span style="color:gray;">.</span>[CONSTRAINT_COLUMN_USAGE] <span style="color:blue;">TO</span> [Public]</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-US">DENY</span><span style="font-size:10pt;" lang="EN-US"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [INFORMATION_SCHEMA]<span style="color:gray;">.</span>[COLUMN_PRIVILEGES] <span style="color:blue;">TO</span> [Public] </span></span></p>
<p><span style="font-size:10pt;" lang="EN-GB"><span style="font-family:Times New Roman;">GO</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-US">use</span><span style="font-size:10pt;" lang="EN-US"> [Your_Database_name] </span></span></p>
<p><span style="font-size:10pt;" lang="EN-GB"><span style="font-family:Times New Roman;">GO</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [sys]<span style="color:gray;">.</span>[columns] <span style="color:blue;">TO</span> [Your_User]</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [sys]<span style="color:gray;">.</span>[tables] <span style="color:blue;">TO</span> [Your_User]</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [sys]<span style="color:gray;">.</span>[syscolumns] <span style="color:blue;">TO</span> [Your_User]</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [sys]<span style="color:gray;">.</span>[sysobjects] <span style="color:blue;">TO</span> [Your_User]</span></span></p>
<p><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-GB">DENY</span><span style="font-size:10pt;" lang="EN-GB"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [sys]<span style="color:gray;">.</span>[objects] <span style="color:blue;">TO</span> [Your_User]</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:10pt;color:blue;" lang="EN-US">DENY</span><span style="font-size:10pt;" lang="EN-US"> <span style="color:blue;">SELECT</span> <span style="color:blue;">ON</span> [sys]<span style="color:gray;">.</span>[syscomments] <span style="color:blue;">TO</span> [Your_User] </span></span></p>
<p><span style="font-size:10pt;" lang="EN-GB"><span style="font-family:Times New Roman;">GO</span></span></p>
<p><span style="font-size:10pt;" lang="EN-GB"><span style="font-family:Times New Roman;"> </span></span></p>
<p><span lang="EN-GB"><span style="font-size:small;"><span style="font-family:Times New Roman;">&lt;%<br />
str = request.servervariables(&#8220;QUERY_STRING&#8221;)<br />
if instr(str, &#8220;;&#8221;) then response.redirect(&#8220;/404msg.asp&#8221;)<br />
str = Request.Form<br />
if instr(str, &#8220;;&#8221;) then response.redirect(&#8220;/404msg.asp&#8221;)</p>
<p>str = request.servervariables(&#8220;QUERY_STRING&#8221;)<br />
if instr(str, &#8220;&#8211;&#8221;) then response.redirect(&#8220;/404msg.asp&#8221;)<br />
str = Request.Form<br />
if instr(str, &#8220;&#8211;&#8221;) then response.redirect(&#8220;/404msg.asp&#8221;)</p>
<p>str = request.servervariables(&#8220;QUERY_STRING&#8221;)<br />
if instr(str, &#8220;&#8216;&#8221;) then response.redirect(&#8220;/404msg.asp&#8221;)<br />
str = Request.Form<br />
if instr(str, &#8220;&#8216;&#8221;) then response.redirect(&#8220;/404msg.asp&#8221;)<br />
%&gt;</span></span></span></p>
<p class="MsoNormal" style="margin:0;"><span lang="EN-GB"><span style="font-size:small;font-family:Times New Roman;"> Execuse me for my bad English</span></span></p>
<p class="MsoNormal" style="margin:0;"><span lang="EN-GB"><span style="font-size:small;font-family:Times New Roman;">any way Ciao tutti</span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dileepstanley.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dileepstanley.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dileepstanley.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dileepstanley.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dileepstanley.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dileepstanley.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dileepstanley.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dileepstanley.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dileepstanley.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dileepstanley.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dileepstanley.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dileepstanley.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dileepstanley.wordpress.com&blog=4000249&post=6&subd=dileepstanley&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dileepstanley.wordpress.com/2008/06/23/prevent-some-of-the-sql-injection-possiblities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2ae9580f02c597199d860e4d0ba165e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dileepstanley</media:title>
		</media:content>
	</item>
	</channel>
</rss>