Security in database


In my work I manage a website in which clients can become members of a program and accumulate points with their purchases.

The problem is that there is someone who is registering multiple times and thus earning points when creating an account.

I check that the document is valid and I make queries in sql to know if there is a user with that document, so I do not understand how it is possible that a user can be created with the same document.

I even put in an IF that if the document is the same as that of this person that the points are not credited when the account is created and this fault still exists.

Thanks for the help, greetings.

asked by Felipe Garcia 12.11.2018 в 18:39

0 answers