This is a migrated thread and some comments may be shown as answers.

Restrict user from tempering the Viewstate Value

0 Answers 29 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
naimish
Top achievements
Rank 1
naimish asked on 03 Mar 2011, 06:20 PM
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.

No answers yet. Maybe you can help?

Tags
Sharepoint Integration
Asked by
naimish
Top achievements
Rank 1
Share this question
or