
Answer-first summary for fast verification
Answer: Use public key infrastructure (PKI) to encrypt the message client-side using the originating user's private key.
The correct answer is C: Use public key infrastructure (PKI) to encrypt the message client-side using the originating user's private key. This ensures that only the originating user could have sent the message, as only they have access to their private key. The recipient can then use the originating user's public key to verify the authenticity of the message. Options A and B do not provide sufficient security to guarantee the message was sent by the specific user, and option D, while important for securing the communication, does not prevent message spoofing on its own.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are designing a mobile chat application where users send messages to one another. You want to ensure that messages cannot be spoofed, meaning that recipients can always be sure the message was sent by the specific user it claims to be from. How can you achieve this level of security?
A
Tag messages client-side with the originating user identifier and the destination user.
B
Encrypt the message client-side using block-based encryption with a shared key.
C
Use public key infrastructure (PKI) to encrypt the message client-side using the originating user's private key.
D
Use a trusted certificate authority to enable SSL connectivity between the client application and the server.
No comments yet.