Computer security involves protecting computer systems, hardware, software, and data from theft and damage. There are many types of computer attacks, including passive monitoring, active network attacks, insider attacks, and distributed attacks. Common computer attacks are password-based attacks, denial-of-service attacks, man-in-the-middle attacks, and application-layer attacks. Network security controls help protect against these threats through tools like access control, antivirus software, firewalls, intrusion prevention, and encryption.