Stopping user to change values in html source before submitting form

前端 未结 2 1498
广开言路
广开言路 2021-01-23 17:22

I have a simple html form as follows:

提交评论

  • 2021-01-23 17:54

    There is nothing stopping a user from changing values in browser by using firebug/inspect element/ what ever..

    What we can do is checking our values on server side and prompting user if they mismatch.

    Shouting again ..

    Never trust/depend on client....

    0 讨论(0)
  • 提交回复
    热议问题