A is incorrect: Allowing prompts with passwords to be logged poses a significant security risk as it can lead to sensitive information, such as passwords and card numbers, being stored in plain text. This choice does not address the security concerns raised by the security reviewers and can potentially expose confidential data to unauthorized access.
B is incorrect: Allowing developers to download full conversation logs for testing purposes can increase the risk of sensitive information being leaked or accessed by unauthorized individuals. This choice does not prioritize data security and can lead to potential breaches of confidential information.
C is correct: Redacting secrets before prompts and restricting access to log files can effectively address both application security and data security concerns. By redacting sensitive information, such as passwords and card numbers, before logging, Tailwind Traders can ensure that confidential data is protected from unauthorized access and potential leaks. Locking down log access further enhances security by limiting who can view and interact with the logs.
D is incorrect: Disabling encryption on logs to simplify search can compromise the security of the logged information, especially sensitive data like passwords and card numbers. Without encryption, the logs are vulnerable to unauthorized access and can lead to data breaches. This choice does not prioritize data security and can expose confidential information to security risks.