Access Controls

A web server must accept connections from anonymous internet users and also query a database on the internal network. Where should the server be placed to limit exposure of the internal network if the server is compromised?

Show the answer

Correct answerD. In the DMZ, with only the required database flow allowed inward

AWhy not this: With no filtering device, the server and its internal connection get no protection or segmentation.

BWhy not this: An extranet serves authorized partners, not anonymous public users, and does not isolate a public server.

CWhy not this: Putting a public server on the intranet gives an attacker who compromises it direct reach to internal hosts.

DWhy this is right: A DMZ isolates public-facing hosts, and firewall rules permit only the specific flow to the database.

A DMZ is a screened segment between the internet and the internal network for public-facing services. A compromised server there is still separated from the intranet by firewall rules. Placing it on the intranet exposes internal hosts directly to anyone who compromises it.