How to protect the view state from tampering

 Posted by Karthikanbarasan on 1/27/2011 | Category: ASP.NET Interview questions | Views: 4285 | Points: 40
Answer:

We can protect the view state from tampering by encrypting the contents of the view state as well as we need to make the enableviewstatemac = true in the page level which will do the complete encryption


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Ajay.Kalol on: 6/2/2012 | Points: 10
By Default ViewState Data is encrypted so No need to extra encryption

Login to post response