I am developing this in ASP.Net MVC5. Given the following example:
I update all the fields of entity A. Before I post however I change the hidden input field of A's Id, and change it to that of B's Id. Now all my updates are pushed onto B.
Are there any solutions in the .NET framework (similar to anti-forgery token) to prevent this from happening? Or should I implement the hashing method outlined in the following: http://sergeyakopov.com/tamper-proof-hidden-fields-in-asp-net-mvc/
Thanks