From the course: CISSP Cert Prep (2021): 3 Security Architecture and Engineering

Unlock the full course today

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

SQL injection prevention

SQL injection prevention

From the course: CISSP Cert Prep (2021): 3 Security Architecture and Engineering

Start my 1-month free trial

SQL injection prevention

- [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. And you won't…

Contents