In CodeIgniter, what configuration setting is crucial for controlling the types of files that can be uploaded?
- allowed_types
- file_restrictions
- file_validation
- upload_limits
In CodeIgniter, the crucial configuration setting for controlling the types of files that can be uploaded is allowed_types. This setting specifies the allowed file types for upload, helping to restrict uploads to only specified file formats and enhancing the security of the file upload functionality.
Loading...
Related Quiz
- Which of the following is a common practice to secure file uploads?
- What is the primary purpose of session management in web applications?
- Using ___________ can effectively prevent SQL injection by separating SQL code from user input.
- Efficient pagination in a CodeIgniter application with AJAX involves updating the ________ without reloading the entire page.
- In CodeIgniter, which directory is designated for storing view files?