Cyber security measures such as firewalls, encryption, and intrusion detection systems help in preventing unauthorized access, safeguarding against hacking attempts, and detecting and mitigating potential threats.