Computer Security Applicationsintermediate
In the lesson's lab, why is DVWA run on virtual machines in Host-Only mode?
Answer
To keep the vulnerable practice environment isolated from public networks
Explanation
### Why this is right
The lesson uses Host-Only networking for the Kali and Metasploitable virtual machines and warns that DVWA should not be placed on a public or internet-facing server. Isolation keeps practice within the controlled lab.
### The concept
DVWA is intentionally vulnerable. If exposed to the internet, it may be compromised. A virtual lab gives students a defined target while reducing the risk of affecting unrelated systems.
### The other options
- **B. To make the application safe to publish on an internet-facing server**: isolation does not make an intentionally vulnerable application safe to publish.
- **C. To guarantee that no database information can be exposed**: isolation reduces exposure but is not a guarantee against every risk.
- **D. To let SQLMap test unrelated public websites**: the lab is for controlled testing of the authorized target, not public systems.
### Terms
- **DVWA**: Damn Vulnerable Web Application, an intentionally vulnerable web application.
- **Virtual machine**: a software-based computer running in an isolated environment.
- **Host-Only mode**: a virtual networking arrangement intended to keep virtual machines on a host-only network.
### Remember
An intentionally vulnerable lab should remain isolated and within its authorized scope.
Related Questions
- A database-backed application needs to stop showing detailed database errors to ordinary users while retaining information for investigation. Which approach best matches the lesson?(intermediate)
- Regular security audits and penetration tests can help identify and fix application weaknesses before attackers exploit them.(basic)
- A Web Application Firewall (WAF) should be treated as a replacement for secure query construction.(basic)
- A database account should have only the permissions required for its task. This is the principle of _____.(basic)
- In blind Structured Query Language (SQL) injection, the attacker cannot directly see the result and instead infers information from application behavior.(basic)
Want to practice more questions like this?
Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.
Start Practicing Free