What are SQL Injections?
Did you know you could get hacked by a hacker or a back-end developer who knows how SQL injections work mainly hacking your database and thus increases weaknesses and exposure of your site user's information like unhashed passwords, user names, emails, contacts, location...
Can you prevent them?
The answer to that is yes.
How?????
First you need to use SQL parameterized queries when accessing your database data.
Secondly, always validate user sent information before saving to the databases, I mean make some if else conditions to be passed before reaching to the point.
Lastly, follow the page for more 😂.
@dev_in_the_house