Network security consists of provisions made in an underlying computer network infrastructure and policies adopted by a network administrator to protect the network, accessible resources, and communication between hosts from unauthorized access and privacy threats. Effective network security requires authentication of users, intrusion prevention and detection systems, encryption of communications, and different levels of security management depending on the size and needs of the business or organization.