1.6.7

Structured Query Language (SQL) Injection

Test yourself on Structured Query Language (SQL) Injection

Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Structured Query Language (SQL) Injection

Almost all websites today are powered by databases on the server. Structured Query Language (SQL) injection is an attack which exploits these databases.

The attack

The attack

  • Structured Query Language (SQL) is a language used to access databases.
  • SQL injection is a form of active attack that exploits SQL execution on web servers.
  • Attackers 'inject' specially formatted code into fields in the website, which when run on the server allow them to bypass login screens or damage the data kept on the server.
Protection against SQL injection

Protection against SQL injection

  • Input validation sets username and password rules that don't permit the character needed to write SQL code.
  • Input sanitation inspects the user's input and removes SQL command words from the input before it is processed.
  • User access levels can be set up to prevent the web server from altering the contents of the database.
Jump to other topics
1

Computer Systems

1.1

Data Representation

1.2

Data Transmission

1.3

Hardware

1.4

Software

1.5

The Internet & its Uses

1.6

Cyber Security

1.7

Automated & Emerging Technologies

2

Algorithms, Programming & Logic

Practice questions on Structured Query Language (SQL) Injection

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
  3. 3
Answer all questions on Structured Query Language (SQL) Injection

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium