- Operating systems use various methods like usernames/passwords, security keys, and biometric scans to authenticate users. They also employ techniques such as antivirus software, firewalls, and regular patches to protect against malware, network intrusions, and other threats. Memory protection, access controls, and encryption further help secure operating systems and their resources.