What is the primary security concern when allowing file uploads in a web application?

  • Allowing unauthorized access to user data
  • Executing malicious scripts through file uploads
  • Exposing the server's file structure
  • Overloading the server with excessive file uploads
The primary concern is the risk of executing malicious scripts through file uploads. By allowing users to upload files, there is a potential threat of uploading files containing scripts that can harm the application and compromise security. Proper validation and filtering are essential to mitigate this risk.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *