Hidden Inputs

I have a form that I upload to a database what contains ids that can’t be edited, but if I put them in a hidden input they can be if someone uses inspect element im trying to prevent this from happening. I tried using a url query to avoid the hidden input but doing this the query returns null. is there maybe a way to dynamically set a max and min value to the ids to stop them been edited or am I going about this wrong all together?

Community Page
Last updated: