how to prevent tempering for hidden field value by malacious user
<p>hi all actually i am using the hidden field for storing some value</p>

<pre><code>&lt;asp:HiddenField ID = "hfObjectID" runat="server" /&gt;
&lt;asp:HiddenField ID = "hfIsBestanswer" runat="server" /&gt;

hfObjectID.value = // fetching pk_id from data base.
hfIsBestanswer.value =  // fetching pk_id from data base.

&lt;input type="hidden" value="100" id="ctl00_ContentPlaceHolder1_ucComment_hfObjectType" name="ctl00$ContentPlaceHolder1$ucComment$hfObjectType"&gt;
</code></pre>

<p>here 100 is actual value
Now user change it 200 now send to the server on server side code will perform operation for 200 value insted of 100 .........</p>

<p>suppose on client side  hidden field  value changed by user then it cause the bad for storing some data on server side acording to hidden field value...
so how i can prevent it. is there any logic which i have to implement itself......</p>

<p>thank you.</p>
