Network security is an activity designed to protect the usability and integrity of your network and data. Security includes both hardware and software technologies. It targets various threats and prevents them from entering your network. It is a specialized field of computer networking that involves securing computer network from various threats. Network administrator or system administrator handles network security and implements security policy.

Network security prevents from unauthorized access to the computer. A network security system typically relies on layers of protection consisting of multiple components including networking monitoring and security software in addition to hardware and appliances. All components work together to increase the overall security of the computer network.