What is a difference between an XSS attack and an SQL injection attack?
A.
SQL injection is a hacking method used to attack SQL databases, whereas XSS attacks can exist in many different types of applications
B.
XSS is a hacking method used to attack SQL databases, whereas SQL injection attacks can exist in many different types of applications
C.
SQL injection attacks are used to steal information from databases whereas XSS attacks are used toredirect users to websites where attackers can steal data from them
D.
XSS attacks are used to steal information from databases whereas SQL injection attacks are used toredirect users to websites where attackers can steal data from them
The Answer Is:
C
This question includes an explanation.
Explanation:
In XSS, an attacker will try to inject his malicious code (usually malicious links) into a database. When other users follow his links, their web browsers are redirected to websites where attackers can steal data from them. In a SQL Injection, an attacker will try to inject SQL code (via his browser) into forms, cookies, or HTTP headers that do not use data sanitizing or validation methods of GET/POST parameters.
350-701 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"