Network security is an activity designed to protect the underlying networking infrastructure that includes both software and hardware technologies and a variety of threats. It is the process of taking physical and software preventative measures to secure the usability and integrity of your network and data.