For instance, if I'm hosting a site where users can upload videos, they should be able to modify the title, description, thumbnail, etc... But what's stopping them from modifying the current views? The upload time? Fields that they should NOT be able to change. Couldn't they use a REST tool like Postman and simply send a custom request in JSON format modifying all of these fields? They could potentially set their views to 999999999 if they wished.
My question: Do I need to add a large number of checks to prevent this? If not, what measures must be taken in order to prevent this from happening?
EDIT
Here's an example with Spring which is what I'm using to build my back end:
@RequestMapping(value="/modify/{id}", method=RequestMethod.POST)
public ResponseEntity<String> modifyVideo(UserVideo modifiedVideo) {
UserVideo originalVideo = videoService.findOne(modifiedVideo.getId());
//Set the prohibited fields back to their original values (checks)
modifiedVideo.setTotalViews(originalVideo.getTotalViews);
...
//Map modifiedVideo to originalVideo once all prohibited fields are reset
}