For secure file uploads, validating the __________ and __________ of the file is essential.
- file name, content
- file name, size
- file type, content
- file type, size
For secure file uploads, it's essential to validate both the file type and content to ensure the uploaded file is safe and meets the required criteria.
Loading...
Related Quiz
- Which strategy involves adding more servers to handle increased load in a web application?
- The process of replacing older cache entries with new ones is known as __________.
- In a scenario where a filter needs to restrict access based on user roles, which object or method is essential for implementing this?
- In JDBC, how can you ensure that all resources are freed, even if an SQL exception occurs?
- How does connection pooling in servlets optimize database interactions?