How to update a record from client to server without displaying unique_Id to user

Viewed 136

How does one update a record from the client to the database without displaying Unique_id of that record to the client.

My problem is that if I display it to the user with display:none property, the user can inspect and change that particular unique_id to some random number, which in case might match with other record's unique_id and end up with updating other record (wrong record).

4 Answers
Related