What is the purpose of a firewall?
1) To divide two adjacent structures
2) To protect a network from unauthorized access
3) To control internet traffic
4) To prevent malware attacks