My AngularJS application includes an edit form with a routing URL like app/edit/:id. When I navigate to app/edit/5, I am able to edit the object with ID 5. However, if I manually change the URL to app/edit/6, the application loads the object with ID 6 instead. This poses a problem as my user is unable to edit this unauthorized object. Are there any solutions or options available to detect and block this situation? Perhaps a solution from another JavaScript framework could be implemented.