Password complexity check should be implemented where?

  1. Client side only

  2. server side only

  3. Both client and server side

  4. In the SQL procedure


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of password complexity and where it should be implemented.

Option A) Client side only - This option is incorrect because implementing password complexity checks only on the client side is not sufficient. Client-side checks can be easily bypassed, as the client-side code can be modified or manipulated by the user.

Option B) Server side only - This option is correct because implementing password complexity checks on the server side is the most secure approach. It ensures that the checks are enforced and cannot be bypassed by the client.

Option C) Both client and server side - This option is incorrect because while implementing password complexity checks on both the client and server side might provide an additional layer of security, it is not necessary. The server-side checks are sufficient to enforce password complexity requirements.

Option D) In the SQL procedure - This option is incorrect because implementing password complexity checks in the SQL procedure is not recommended. The SQL procedure should be responsible for database operations and not for enforcing password complexity rules.

The correct answer is B) Server side only. This option is correct because implementing password complexity checks on the server side ensures that the checks are enforced and cannot be bypassed by the client.

Find more quizzes: