Network security involves policies and provisions to protect computer networks from unauthorized access, misuse, and attacks, with various defenses tailored for home or enterprise environments. Common attacks include passive techniques like wiretapping and active methods such as denial-of-service and SQL injection. Cyber-attacks target information systems through malicious means and have evolved to become increasingly sophisticated, affecting individuals and infrastructure alike.