58. A software developer wants to implement an application security technique that will provide assurance of the application's integrity. Which of the following techniques will achieve this goal?

Answer: D

Explanation:

Code signing will provide assurance of the application's integrity.

Code signing is a technique that involves digitally signing software to ensure its integrity and authenticity. This method verifies that the code has not been altered or corrupted since it was signed, thus providing assurance of the application's integrity.

A) Secure cookies

Secure cookies are primarily used to enhance security during data transmission between a web server and a client. While they help protect against certain attacks, such as cross-site scripting, they do not specifically ensure the integrity of the application's code or functionality.

B) Input validation

Input validation is a crucial security measure that ensures that the data entering an application is correct and safe. However, it focuses on the data itself rather than the integrity of the application code, making it insufficient for providing assurance of overall application integrity.

C) Static analysis

Static analysis involves examining code for vulnerabilities and potential issues before it is executed. Although it helps identify security flaws, it does not provide a mechanism for ensuring that the code has not been tampered with post-development, thus failing to guarantee the integrity of the application.

D) Code signing

Code signing is the correct choice as it involves applying a digital signature to software, which assures users that the code has not been altered and comes from a verified source. This technique directly addresses the need for integrity assurance in application security.

Conclusion

Code signing is the definitive method for ensuring the integrity of an application, as it validates that the code remains unchanged and authentic. In contrast, secure cookies, input validation, and static analysis serve different security purposes but do not specifically address integrity assurance in the same way that code signing does.