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.
Loading...
Related Quiz
- When implementing a financial transaction feature, the developer uses ________ in CodeIgniter to ensure atomicity and consistency of the database.
- In CodeIgniter, which method of the Query Builder is commonly used to select data from a database?
- What is the primary purpose of exception handling in software development?
- In CodeIgniter, what is the best practice for logging database errors?
- In CodeIgniter, which method is commonly used to pass parameters to a library at the time of its loading?