Disable Editability on Custom Fields

Is it possible to disable editability on custom fields?

What type of editing are you referring to?
Editing the name/properties of the field or editing the value within the field?