Network security is any activity designed to protect the usability and integrity of your network and data. It includes both hardware and software technologies. It targets a variety of threats. It stops them from entering or spreading on your network. Effective network security manages access to the network.Cryptography is a method of protecting information and communications through the use of codes, so that only those for whom the information is intended can read and process it.