ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 225 - SY0-701 discussion

Report
Export

Which of the following risks can be mitigated by HTTP headers?

A.
SQLi
Answers
A.
SQLi
B.
XSS
Answers
B.
XSS
C.
DoS
Answers
C.
DoS
D.
SSL
Answers
D.
SSL
Suggested answer: B

Explanation:

HTTP headers can be used to mitigate risks associated with Cross-Site Scripting (XSS). Security-related HTTP headers such as Content Security Policy (CSP) and X-XSS-Protection can be configured to prevent the execution of malicious scripts in the context of a web page.

XSS (Cross-Site Scripting): A vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. HTTP headers like CSP help prevent XSS attacks by specifying which dynamic resources are allowed to load.

SQLi (SQL Injection): Typically mitigated by using parameterized queries and input validation, not HTTP headers.

DoS (Denial of Service): Mitigated by network and application-level defenses rather than HTTP headers.

SSL (Secure Sockets Layer): Refers to securing communications and is not directly mitigated by HTTP headers; rather, it's implemented using SSL/TLS protocols.

asked 02/10/2024
Jesus Vargas
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first