How can you detect if a viewstate is tampered ?

 Posted by Bharathi Cherukuri on 8/30/2012 | Category: ASP.NET Interview questions | Views: 2133 | Points: 40

The EnableViewStateMac attribute will check the encoded and encrypted viewstate for tampering.
By setting the EnableViewStateMac to true in the @Page directive you can detect if a viewstate is tampered.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response