Multiple choice technology security

What does isSecureRequest(HttpServletRequest request) method accomplish?

  1. It checks if the http request is made on an SSL channel

  2. It checks if the http method is a POST

  3. Both of the above

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The isSecureRequest method performs two critical security checks: verifying SSL usage (HTTPS) and ensuring the HTTP method is POST. POST over HTTPS provides confidentiality and is the standard for secure form submissions. Options A and B are each partially correct but incomplete.