What is the primary purpose of a firewall in a network?
To block unauthorized access
A firewall is a security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules, primarily to block unauthorized access.