Computer security protects information and property from threats while keeping it accessible to authorized users. There are three main categories of computer insecurity: vulnerabilities, exploits, and payloads. Vulnerabilities are weaknesses that allow attacks, exploits take advantage of vulnerabilities, and payloads are the harmful effects caused, such as deleting files or installing backdoors. Common security measures include usernames/passwords, firewalls, antivirus software, and encryption.