how to check whether the data is tamper or not while the form is POST in asp.net
I have a form that submits the game score. Is there any way to check whether that game score is not tampered during submission. I am using POST method, for G开发者_如何学CET method we can use HASH, but i am looking for POST method
What do you mean by tampered with? Are you calculating the score in some client-side code and sending it back to the server? If that's the case, then no there is no way to check. The cardinal rule is to never implicitly trust anything that comes from the client. Validate everything with server-side logic.
精彩评论