HELP!!!, about security of asp.net control

  • Thread starter Thread starter jht5945
  • Start date Start date
J

jht5945

I am using asp.net now, but I meet a asp.net security problem.
I use select control like this:
<SELECT id="selTokken" style="WIDTH: 144px" name="selTokken"
runat="server">
<OPTION selected></OPTION>
<OPTION value="1">111</OPTION>
</SELECT>
In default this control's view state is enabled.
I want to know that if someone at the client modified the value to 2,
not 1, will it cause exception when the request was sent to the server?
I has test it too, I changed the value to "x" , and I received
""(blank) at the server.

Can any one tell me why? or offer a official document?
thanks,
 
Hi,

I'm not sure what is y our question

As teh page is in the client he could modify it, so you should check in the
server the values you expect.

As I said above, a more detailed explanation would help
 
Back
Top