CompTIA CySA+ (CS0-002) — Question 36

Which of the following is the BEST security practice to prevent ActiveX controls from running malicious code on a user's web application?

Answer options

Correct answer: C

Explanation

The correct answer is C because adjusting the web-browser settings to block ActiveX controls directly prevents them from running, thereby mitigating the risk of malicious code. Options A and B focus on detection and blocking after the fact, which isn't as proactive. Option D does not directly address ActiveX controls but rather focuses on traffic management, which may not prevent execution of harmful code already allowed by the browser.