Skip to content
Sharp

OWASP Vulnerabilities · interview question

When using JWTs for stateless authentication, what is a common practice to ensure token security?

Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiescross-site-scripting-xss
Choose one answer
Answer and explanation

Correct answer

D. Use HTTPS to transmit tokens

Why

Using HTTPS ensures that JWTs are transmitted securely over the network, protecting them from interception by attackers.

Test yourself on OWASP Vulnerabilities

A free test with instant, explained results. No account needed.

Start free test
All OWASP Vulnerabilities questions →