CompTIA CASP+ (CAS-004) — Question 12
A developer wants to maintain integrity to each module of a program and ensure the code cannot be altered by malicious users.
Which of the following would be BEST for the developer to perform? (Choose two.)
Answer options
- A. Utilize code signing by a trusted third party.
- B. Implement certificate-based authentication.
- C. Verify MD5 hashes.
- D. Compress the program with a password.
- E. Encrypt with 3DES.
- F. Make the DACL read-only.
Correct answer: A, C
Explanation
The best approach for maintaining code integrity is to utilize code signing by a trusted third party, ensuring that the code has not been tampered with. Verifying MD5 hashes is also effective in checking for alterations in the code. The other options either do not directly address integrity or focus on access control rather than protecting the code itself.