Operating system security is the set of techniques that
protect system resources and user data from unauthorized access and malicious activity
.
Imagine lockers at school. Each locker has a lock that keeps other students from opening it. The lock is like a security mechanism such as encryption or user authentication.
Some lockers may use a password, while others open only when you scan your fingerprint. Those are examples of password and biometric authentication. If the contents themselves can only be read with a particular code, that's like encrypted information.
The operating system needs to protect resources and information such as these:
transforms information so other people cannot understand it
.
Imagine writing a secret letter to a friend and replacing โABCโ with โ123โ before sending it.
Symmetric encryption
uses the same secret key to lock and unlock information. If someone else learns the key, the protection is lost. It's like sharing a house key with a friend.
Asymmetric encryption
uses two keys. The public key can be shared, while the private key is kept secret. Information locked with the public key can only be opened with the private key, which helps protect it. It's like a friend sending you a padlock while keeping the only key.
Security Defenses and Operating System Examples ๐
Operating systems use several defenses internally.
โ monitors incoming connections and lets only permitted traffic through, like a school gate that admits only people with a pass.
Separation of user privileges
โ giving every user full control would be risky. The operating system distinguishes ordinary users from administrators (superusers), allowing only administrators to make important system changes.
Access control list (ACL)
โ specifies who can read, write, or execute each file or folder. It's like using a house key to enforce a rule that only Mom can enter a particular room.
Logging and auditing
โ record who opened or modified a file and when. Like security camera footage, these records help trace what happened when something goes wrong.
Operating system security is a major line of defense for computers and their data. We looked at how it works across several layers, including programs, networks, user authentication, and app permissions.
Next time, we will cover