Valid CAS-004 Dumps shared by ExamDiscuss.com for Helping Passing CAS-004 Exam! ExamDiscuss.com now offer the newest CAS-004 exam dumps, the ExamDiscuss.com CAS-004 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CAS-004 dumps with Test Engine here:
A network administrator who manages a Linux web server notices the following traffic: http://corr.ptia.org/.../.../.../... /etc./shadow Which of the following Is the BEST action for the network administrator to take to defend against this type of web attack?
Correct Answer: B
The network administrator is noticing a web attack that attempts to access the /etc/shadow file on a Linux web server. The /etc/shadow file contains the encrypted passwords of all users on the system and is a common target for attackers. The attack uses a technique called directory traversal, which exploits a vulnerability in the web application that allows an attacker to access files or directories outside of the intended scope by manipulating the file path. Validating the server input and appending the input to the base directory path would be the best action for the network administrator to take to defend against this type of web attack, because it would: * Check the user input for any errors, malicious data, or unexpected values before processing it by the web application. * Prevent directory traversal by ensuring that the user input is always relative to the base directory path of the web application, and not absolute to the root directory of the web server. * Deny access to any files or directories that are not part of the web application's scope or functionality.