HTML - How to prevent user from editing form's value?

后端 未结 4 1445
梦毁少年i
梦毁少年i 2020-12-03 11:26

I am developing a simple web apps that allowed user to key in information using a form when I discovered I could edit that form\'s input default value using Chrome -> Check

4条回答
  •  温柔的废话
    2020-12-03 12:17

    You could check for the correct kind of value in the server side. In fact you should check every data send from the client side to prevent an attack

提交回复
热议问题