From the course: CompTIA CySA+ (CS0-002) Cert Prep: 2 Vulnerability Management (2020)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Preventing SQL injection

Preventing SQL injection

From the course: CompTIA CySA+ (CS0-002) Cert Prep: 2 Vulnerability Management (2020)

Start my 1-month free trial

Preventing SQL injection

- [Instructor] SQL injection attacks prey upon the fact that many modern dynamic web applications rely upon underlying databases to generate dynamic content. For example, a web application that relies upon a simple database-driven authentication mechanism might store unencrypted user passwords in a database, and then when a user attempts to log in, the application retrieves the correct password from the database, and compares it to the user's input. If the passwords match, the user is successfully logged into the system. This is not a good way to implement password authentication but it's the reality of how many websites work. In this type of scenario, the web server requests the password from the database using a query written in the Structured Query Language, or SQL. SQL is simply the language used by relational databases that allows users and applications to create, update, delete, and retrieve data. You won't need to…

Contents