jQuery "Like" with id in HTML as identifier
I am working on a project, where it's possible for users to like each
others stuff. Right now my jQuery gets the id from the HTML, to identify
what thing to like. But people are able to open an Inspector in the
browser, and edit the id, and that way like a whole other thing.
I am searching for alternative ways to do this.
I've thought of making a unique string, but that's kinda the same, since
they still would be able to copy/paste the string to another element.
Thanks in advance.
No comments:
Post a Comment