Network security protects information and systems on a computer network from unauthorized access, use, disclosure, disruption, modification, inspection, recording or destruction. It is a subset of cyber security and information security that uses techniques and methods to secure networks, devices, programs and data. The three main types of security are information security, cyber security and network security, with network security focusing specifically on protecting the integrity of a network and preventing unauthorized access.