...

/

Querying Your Database While Avoiding SQL Injections

Querying Your Database While Avoiding SQL Injections

In this lesson, we'll look at the dangers of an SQL injection attack and how they can be avoided.

Introduction

Right off the bat, you’re probably thinking, “I’ve heard about injections,” and that’s probably because they were the #1 vulnerability in the “2017 OWASP Top 10: The Ten Most Critical Web Application Security Risks”.

But guess what, injections made the #1 spot in the 2010 and 2013 version of the list. There’s a strong chance you might be familiar with any type of injection risk. The only thing you need to remember when fighting an injection attack is to never trust the client. If you receive data from a client, make sure it’s validated, filtered and ...