Restrict user from tempering the Viewstate Value

1 posts, 0 answers
  1. naimish
    naimish avatar
    31 posts
    Member since:
    Jul 2010

    Posted 03 Mar 2011 Link to this post

    Hi All,

    We deployed our usercontrols (Radgrid,Radtextboxes & button) on sharepoint 2010 site, & everything works fine.

    Now testing team altered the viewstate value of controls through Fiddler and changed it with some junk characters, now after submitting the form to server, it throws Invalid JASON Primitive (server 500 error)

    In web.config file, by default EnableViewStateMac is true.
    Is it any way to restrict  users or any way to stop the postback,  if some one alters the viewstate to stop submiting  form to server.
Back to Top