Sorry if that question was already asked but I didn't find any answer on google. I would like to know if it's dangerous to let users know data ids. For instance, if a user has as primary key in my data table "users" id=34.
Is it bad, to let him know that in the html/js code ? Is it recommended to hash data ids ? Which method is usually used in php ?
Thanks a lot for your response