<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hannes Preishuber - All Comments</title><link>http://weblogs.asp.net/hpreishuber/default.aspx</link><description>ON ERROR RESUME NEXT!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: double qoute against sql injection?</title><link>http://weblogs.asp.net/hpreishuber/archive/2004/04/30/123901.aspx#8265098</link><pubDate>Fri, 20 Jan 2012 17:44:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8265098</guid><dc:creator>Bob</dc:creator><description>&lt;p&gt;Using parameterized stored procedures work great, except with db's like MS SQL which allow &amp;quot;stacked&amp;quot; commands. &amp;nbsp;Consider this stored procedure call string, that calls a nice tidy parameterized stored procedure called sp_Login:&lt;/p&gt;
&lt;p&gt;&amp;quot;sp_Login '&amp;quot; &amp;amp; username &amp;amp; &amp;quot;', '&amp;quot; &amp;amp; password &amp;amp; &amp;quot;'&amp;quot;&lt;/p&gt;
&lt;p&gt;Then consider the hacker who enters the following as the username in the login form...&lt;/p&gt;
&lt;p&gt;'; some sql command --&lt;/p&gt;
&lt;p&gt;The stored procedure call suddenly becomes...&lt;/p&gt;
&lt;p&gt;sp_Login ''; some sql command --, ''&lt;/p&gt;
&lt;p&gt;... and since MS SQL can run multiple commands separated by a semi-colon, the hacker is successful in running whatever he pleases on your server, since while the stored procedure fails, his injected command won't. &amp;nbsp;In other words, he doesn't care about the stored procedure at all, if it fails his code still runs (and everything after the -- is ignored). :(&lt;/p&gt;
&lt;p&gt;The fix therefore is to do a replace procedure on the user input from querystrings or forms, e.g. replace ' with '' (single apostrophe with double apostrophe). &amp;nbsp;By doing so, the hack attempt creates this sql call string...&lt;/p&gt;
&lt;p&gt;sp_Login '''; some sql command --, ''&lt;/p&gt;
&lt;p&gt;Which causes an error with the three apostrophes in a row. &amp;nbsp;Legitimate data is not affected, since a double apostrophe is an &amp;quot;escape&amp;quot; for a single apostrophe in SQL.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8265098" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET have left the track?</title><link>http://weblogs.asp.net/hpreishuber/archive/2009/08/22/asp-net-have-left-the-track.aspx#8066712</link><pubDate>Mon, 21 Nov 2011 06:38:59 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8066712</guid><dc:creator>testking</dc:creator><description>&lt;p&gt;This can be solved by Extremum Energising Communicate Levels 0. CSS adapters snub this scene so that you can use.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8066712" width="1" height="1"&gt;</description></item><item><title>Vs2005 dataformatstring | Finappx</title><link>http://weblogs.asp.net/hpreishuber/archive/2008/06/18/fixed-asp-net-gridview-dataformatstring.aspx#8017467</link><pubDate>Fri, 28 Oct 2011 05:32:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8017467</guid><dc:creator>Vs2005 dataformatstring | Finappx</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Vs2005 dataformatstring | Finappx&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8017467" width="1" height="1"&gt;</description></item><item><title>CLIENT ACCESS PORT | Quality Products Blog</title><link>http://weblogs.asp.net/hpreishuber/archive/2009/08/26/open-sql-port-for-specific-ip-by-asp-net-website.aspx#8008502</link><pubDate>Mon, 24 Oct 2011 20:54:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:8008502</guid><dc:creator>CLIENT ACCESS PORT | Quality Products Blog</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;CLIENT ACCESS PORT | Quality Products Blog&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=8008502" width="1" height="1"&gt;</description></item><item><title>re: Visendo SMTP (pop3) Extender for Windows 2008 Server</title><link>http://weblogs.asp.net/hpreishuber/archive/2008/04/30/visendo-smtp-pop3-extender-for-windows-2008-server.aspx#7970046</link><pubDate>Thu, 29 Sep 2011 12:04:17 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7970046</guid><dc:creator>dumicodin</dc:creator><description>&lt;p&gt;Hi Joseph,&lt;/p&gt;
&lt;p&gt;try to update the smtp extender using the integrated updater, and check following post about more infos :&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forum.visendo.com/default.aspx?g=posts&amp;amp;t=673"&gt;forum.visendo.com/default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7970046" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Multiselect Listbox</title><link>http://weblogs.asp.net/hpreishuber/archive/2008/11/07/silverlight-multiselect-listbox.aspx#7967207</link><pubDate>Tue, 27 Sep 2011 03:27:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7967207</guid><dc:creator>Adhi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How can i Select All / Unselect all items in the checked list box when i click the buttons.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7967207" width="1" height="1"&gt;</description></item><item><title>re: Rownumber in Silverlight Datagrid or Listbox</title><link>http://weblogs.asp.net/hpreishuber/archive/2008/11/18/rownumber-in-silverlight-datagrid-or-listbox.aspx#7966239</link><pubDate>Mon, 26 Sep 2011 10:18:05 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7966239</guid><dc:creator>Xmas Cards Text</dc:creator><description>&lt;p&gt;I want this blog to my favorites! I'll read this site from time to time!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7966239" width="1" height="1"&gt;</description></item><item><title>re: Visendo SMTP (pop3) Extender for Windows 2008 Server</title><link>http://weblogs.asp.net/hpreishuber/archive/2008/04/30/visendo-smtp-pop3-extender-for-windows-2008-server.aspx#7961086</link><pubDate>Thu, 22 Sep 2011 07:29:26 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7961086</guid><dc:creator>Joseph</dc:creator><description>&lt;p&gt;Iam getting the below error when starting the service&lt;/p&gt;
&lt;p&gt;The service did not respond to start or control request in a timely fashion&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7961086" width="1" height="1"&gt;</description></item><item><title>re: Change cell color in gridview depending the inner value</title><link>http://weblogs.asp.net/hpreishuber/archive/2006/01/09/434889.aspx#7954319</link><pubDate>Fri, 16 Sep 2011 06:07:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7954319</guid><dc:creator>Shevantha</dc:creator><description>&lt;p&gt;Good post..&lt;/p&gt;
&lt;p&gt;You can do it in client side and reduce the weight on server&lt;/p&gt;
&lt;p&gt;its too easy with JavaScript. I found this in a blog site&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://howsharepoint.blogspot.com/2011/09/javascript-to-color-gridview-cells.html"&gt;howsharepoint.blogspot.com/.../javascript-to-color-gridview-cells.html&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7954319" width="1" height="1"&gt;</description></item><item><title>re: Back on new Blog Software CS</title><link>http://weblogs.asp.net/hpreishuber/archive/2006/05/22/Back-on-new-Blog-Software-CS.aspx#7924491</link><pubDate>Thu, 25 Aug 2011 09:59:16 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7924491</guid><dc:creator>mgmkjo</dc:creator><description>&lt;p&gt;q7sqI7 &amp;nbsp;&amp;lt;a href=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://bmqcaqtkdlld.com/&amp;quot;&amp;gt;bmqcaqtkdlld&amp;lt;/a&amp;gt;"&gt;bmqcaqtkdlld.com/.../a&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7924491" width="1" height="1"&gt;</description></item></channel></rss>
