- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2025 10:54 PM
Hi All,
Users are updating read only fields using F12 or Inspect or browser console in incident or change request forms , is there any solution in ServiceNow to restrict this so that no one can change read only fields in any form.
The developer tool available in browser is allowing to overwrite ACLs, UI policies.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:11 AM
Hi @ServiceNow10sun ,
Use Data policy instead. This will enforce it on DB level.
If this helped please like and mark it as an accepted solution.
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:17 AM
the only way is to use Data policies
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:11 AM
Hi @ServiceNow10sun ,
Use Data policy instead. This will enforce it on DB level.
If this helped please like and mark it as an accepted solution.
Thanks,
BK

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:25 AM
For what it's worth, I believe Data Policies operate at the application tier and not on the database itself... but it is server-side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:17 AM
the only way is to use Data policies
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 04:44 AM - edited 01-20-2025 01:04 AM
If we are sticking to OOTB methods then, from testing this in my PDI both, ACL and Data Policies will prevent the users from updating the record if they bypass the Client side Read Only functionality. Both of these methods are heavy handed but will protect your read only data. (*as @Community Alums mentioned below you could also use a Business Rule that compares the current and Previous values, but this won't apply any indication to the end user that the field shouldn't be edited so will need to be coupled with another method, but might suit your purpose so is a good shout and worth noting).
It is worth noting that these methods do not prevent the user updating the value in the form on the client but instead stop the updated value being applied on the server side (so essentially block the forced in value from being written to the record on the database).
If you want to enforce something client side then you might try, in addition to the above, setting up a client script that will look for changes to the field on the client side and give a warning message back while also resetting the field to it's original value. This option is going to carry more technical debt, as the script will need to be maintained, but if it's the changing of the values on the client side that is causing the issue then this might be worth considering. (*I've added an example of this below for you as a starting point)