# How to prevent the updating of specific user fields

**URL:** <https://meta.discourse.org/t/how-to-prevent-the-updating-of-specific-user-fields/353627>\
**Category:** Development\
**Created:** [February 21, 2025, 3:31pm UTC](https://meta.discourse.org/t/how-to-prevent-the-updating-of-specific-user-fields/353627 "2025-02-21T15:31:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [February 21, 2025, 3:32pm UTC](https://meta.discourse.org/t/how-to-prevent-the-updating-of-specific-user-fields/353627/2 "2025-02-21T15:32:44Z")

</div>

> [@IJK\_Rick](#):
>
> How do I ensure that nobody can update these fields (for example website or location) using aforementioned methods?

Write a plugin to change the API (ie override the Controllers, Model or the associated library functions)

> [@IJK\_Rick](#):
>
> However they could still be updated using rails console

This is very unlikely btw, only admins will get to the Rails console.

---

_[View the full topic](https://meta.discourse.org/t/how-to-prevent-the-updating-of-specific-user-fields/353627)._
