The goal of network security is to prevent unauthorized access, viruses or hacks, or thefts within the network. It leverages anti-virus software, access control, network analytics and different types of security, including application and end-point security.