DEV Community

Cover image for SQL injections
ssekabira robert sims
ssekabira robert sims

Posted on

SQL injections

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 😂.

https://ssekabirarobertsims.netlify.app
Uploading image

Top comments (1)

Collapse
 
ssekabirarobertsims profile image
ssekabira robert sims