Home > Interviews > ASP.NET >

How can you detect if a viewstate has been tampered ?

 Posted by Bharathi Cherukuri on 4/20/2012 | Category: ASP.NET Interview questions | Views: 1125 | Points: 40
Answer:

By setting the EnableViewStateMac to true in the @Page directive. This attribute checks the encoded and encrypted viewstate for tampering.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response