Here, the browser will prevent the user from entering any more than three
characters into the input field, and so the server-side application may assume
that the quantity parameter it receives will be no longer than this. However,
the restriction can be easily circumvented either by intercepting the request
containing the form submission to enter an arbitrary value, or by intercepting
the response containing the form to remove the
maxlength
attribute.
Do'stlaringiz bilan baham: