Laravel 7 create custom Middleware or Policy function to generate encrypted array of AJAX return data for form value IDs

Job ID: 32515735

Budget: $25 – $50 USD

To prevent users modifying ids in form with browser developer console ...I need a way to validate the original record pulled that loads into the form, to check keys, without having to use multiple validations and conditions .. I think this is best approach ..if you recommend different solution, I'll still pay for work if i like the solution
Related categories: PHP JavaScript Software Architecture MySQL Laravel