Web Security

Protecting web applications and servers

5 minutes 5 Questions

Web Security involves protecting websites, web applications, and associated services from threats targeting web-based systems. For CompTIA Security+ purposes, key components include: 1. HTTPS/TLS: Encrypting connections between clients and servers using certificates to prevent eavesdropping and ma…

Test mode:
CompTIA Security+ - Web Security Example Questions

Test your knowledge of Web Security

Question 1

A penetration tester has identified a CSRF vulnerability within your web application. Which cookie attribute should you set to prevent attackers from using a user's browser to send unauthorized requests?

Question 2

You're updating your website's security and notice numerous CSRF tokens missing. What method would be best to secure against clickjacking attacks?

Question 3

An attacker has found a way to place content over your website that makes it appear as if it's part of your site. How do you defend against this?

More Web Security questions
48 questions (total)