Allow updation of a single field in a class

Hi, I have a class with field ‘downloads’.
I need to allow updation of this single field. If there are other fields in update request, i need to throw an error. How do I achieve this?

You can use a beforeSave trigger do do the validation: Cloud Code Guide | Parse