<?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>Never Trust User Input: The ASP.NET ViewState case</title><link>http://weblogs.asp.net/hernandl/archive/2005/05/04/never-trust-user-input-the-asp-net-viewstate-case.aspx</link><description>This morning I came across an interesting post about user input validation ( ASP.NET __VIEWSTATE crypto validation prone to replay attacks ) and the popular ASP.NET viewstate artifact that many people use thinking their state information (Read: User Input</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: Never Trust User Input: The ASP.NET ViewState case</title><link>http://weblogs.asp.net/hernandl/archive/2005/05/04/never-trust-user-input-the-asp-net-viewstate-case.aspx#405921</link><pubDate>Fri, 06 May 2005 13:17:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:405921</guid><dc:creator>Hernan de Lahitte</dc:creator><author>Hernan de Lahitte</author><description>Sorry Scott about my sentence choice. However, I suggest you to polish your writing style so your boss won't feel sick when reviewing you. :-)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=405921" width="1" height="1"&gt;</description></item><item><title>re: Never Trust User Input: The ASP.NET ViewState case</title><link>http://weblogs.asp.net/hernandl/archive/2005/05/04/never-trust-user-input-the-asp-net-viewstate-case.aspx#405621</link><pubDate>Wed, 04 May 2005 16:01:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:405621</guid><dc:creator>Daniel Auger</dc:creator><author>Daniel Auger</author><description>Server-side viewstate is another option.&lt;br&gt;&lt;a target="_new" href="http://msdn.microsoft.com/msdnmag/issues/03/02/CuttingEdge/"&gt;http://msdn.microsoft.com/msdnmag/issues/03/02/CuttingEdge/&lt;/a&gt;&lt;br&gt;In that article, if I remember correctly, he stores thew viewstate in a file on the server, but it is very easy to convert the example to use a session variable for the viewstate.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=405621" width="1" height="1"&gt;</description></item><item><title>re: Never Trust User Input: The ASP.NET ViewState case</title><link>http://weblogs.asp.net/hernandl/archive/2005/05/04/never-trust-user-input-the-asp-net-viewstate-case.aspx#405620</link><pubDate>Wed, 04 May 2005 15:52:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:405620</guid><dc:creator>Scott Mitchell</dc:creator><author>Scott Mitchell</author><description>Eep, you chose to summarize my article with the worst sentence in the entire entry!  Chalk full of parenthetical side comments and a bit of a run-on... if I wrote this in a book my editor would likely vomit all over his keyboard.&lt;br&gt;&lt;br&gt;Wally, what was your client's rationale for NOT requerying the database for pricing data?  Was it solely because of performance reasons?&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=405620" width="1" height="1"&gt;</description></item><item><title>re: Never Trust User Input: The ASP.NET ViewState case</title><link>http://weblogs.asp.net/hernandl/archive/2005/05/04/never-trust-user-input-the-asp-net-viewstate-case.aspx#405598</link><pubDate>Wed, 04 May 2005 13:19:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:405598</guid><dc:creator>Wallym</dc:creator><author>Wallym</author><description>I agree with you.  :-)  However, I had a customer that was adament that they would not requery the database for pricing information.  They believed that their situation was valid.  Its a battle I lost, though I did state that I felt that their reasons were not valid.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=405598" width="1" height="1"&gt;</description></item></channel></rss>