Quizzes.technology

πŸ›‘οΈ Free practice test question from: Directory traversal vulnerability (Security+)

Directory traversal vulnerabilitySecurity+

A popular online photo-sharing platform allows users to upload and view their images through the website. Users can view their photos by accessing URLs structured like this:

https://photoshare.com/view?image=summer_vacation.webp

Recently, security analysts discovered that an attacker exploited a directory traversal vulnerability in the application. By manipulating the image parameter, the attacker was able to access sensitive files on the server, including configuration files and user data backups.

Which of the following measures would most effectively mitigate the risk of directory traversal attacks in this scenario?

πŸ’¬ Discussion and Feedback

Share your thoughts, provide feedback, or discuss the question and answer below. You can also help others by answering their questions or providing additional information. Thank you for contributing! πŸ™

Comments

No comments yet. Be the first to comment!