Prevent query string manipulation by adding a hash?
        Posted  
        
            by saille
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by saille
        
        
        
        Published on 2009-06-29T23:49:41Z
        Indexed on 
            2010/03/26
            12:03 UTC
        
        
        Read the original article
        Hit count: 372
        
To protect a web application from query string manipulation, I was considering adding a query string parameter to every url which stores a SHA1 hash of all the other query string parameters & values, then validating against the hash on every request.
Does this method provide strong protection against user manipulation of query string values? Are there any other downsides/side-effects to doing this?
I am not particularly concerned about the 'ugly' urls for this private web application. Url's will still be 'bookmarkable' as the hash will always be the same for the same query string arguments.
This is an ASP.NET application.
© Stack Overflow or respective owner