What security risks are associated with storing uploaded files directly in the webroot directory?
- Enhanced security through isolation, reduced risk of unauthorized access
- Improved file access speed, enhanced server performance
- Increased risk of code execution, vulnerability to file inclusion attacks
- Simplified file management, easier accessibility
Storing uploaded files directly in the webroot directory poses a significant security risk, as it allows for potential code execution and makes the application vulnerable to file inclusion attacks. By placing files outside the webroot, the risk of unauthorized access is reduced.
Loading...
Related Quiz
- When experiencing database connectivity issues in a CodeIgniter application, the first place to check is the ________ settings in the database configuration file.
- In complex applications, ________ can be used to automatically run unit tests in different environments.
- When faced with a slow-running query, a CodeIgniter developer can utilize the ________ utility to diagnose and optimize performance.
- How does CodeIgniter's Model handle relationships between different database tables?
- To create a custom library in CodeIgniter, the class file must be placed in the ________ directory.