I have a table (say users table) with the following fields:
Names, Birthday, National ID, Edit, Remove
...and I want to use Modals to manage the Edit and Remove features. On click, the edit button for the selected row will edit that users data in the pop-up modal already pre-filled with the active information.
What is the safest method of passing the 'id' of the record being updated? I am not comfortable with passing the id for all users to the view for security reasons.
Similar case where solution was to stick with sending all ids to view: