Photo by Frida Bredesen on Unsplash

Member-only story

Basics on SQL Injection Attacks

Marika Lam

--

What causes Injection Attacks?

  1. Denial of service
  2. Data loss
  3. Data disclosure

When does your application have a HIGH vulnerability of an injection attack?

When your application has been created using a language that does not have a clear distinction between code and data.

What is the character that is most likely used for SQL injection attacks?

Single quote (‘)

So how do we mitigate SQL injections…

  1. Prepared statements with parameterized queries
  2. White list input validation
  3. Escaping user inputs

--

--

No responses yet