From the course: CISSP Cert Prep (2021): 8 Software Development Security

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: CISSP Cert Prep (2021): 8 Software Development Security

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 has successfully logged into the system. Now 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. Now you won't…

Contents