Free tech learning for everyone, from basics to pro

Network SecurityNetworking SecurityBeginner

What is information security? Attacks, CIA and how security is achieved

In short: Information security is the practice of protecting information from unauthorised access, use, disclosure, disruption, change or destruction. Attacks can be passive (watching) or active (changing). Security is achieved with encryption, digital signatures and access control, all aimed at confidentiality, integrity and availability.

What information security means

To be secure is to be free from danger or threat. Information security applies that idea to information: it is the practice of preventing unauthorised access, use, disclosure, disruption, modification, inspection, recording or destruction of information, whether it is stored on a disk, sent across a network or printed on paper.

An attack is any action that compromises the security of information an organisation owns. Attacks fall into two broad groups.

Active and passive attacks

Passive and active attacksPassive: read onlyActive: change or injectSenderReceiverAttackerlistensSenderReceiverAttackeralters, fakes
Figure 1. A passive attacker only observes traffic; an active attacker sits in the path and changes, replays or invents messages.
Passive attackActive attack
GoalLearn information quietlyChange, block or fake information
Effect on the systemNone visible: operations continue normallyData or service is altered or disrupted
ExamplesEavesdropping, traffic analysis, packet sniffingMessage modification, replay, impersonation, denial of service
Main defencePrevention: encryptionDetection and recovery: integrity checks, authentication, monitoring

The key security concepts (CIA)

  • Confidentiality: only authorised people can read sensitive information. Achieved with usernames and passwords, access control lists (ACLs) and encryption.
  • Integrity: information stays accurate and complete, exactly as its creator intended. Achieved with hashing, digital signatures and change controls.
  • Availability: information and resources are there when authorised users need them. Achieved with hardware maintenance, patching, redundancy and network optimisation.

Encryption

Encryption converts readable plaintext into unreadable ciphertext using an algorithm (the mathematical method) and a key. Only someone with the right key can turn it back.

  • Symmetric encryption: one shared secret key both encrypts and decrypts. Fast, so it protects bulk data (AES).
  • Asymmetric (public-key) encryption: a key pair. What one key locks, only the other can unlock. Used to exchange keys and to sign (RSA, elliptic curve).

Digital signatures

A digital signature does for electronic documents what a handwritten signature does for paper, but far more reliably: it proves who signed and that nothing changed afterwards. It is used in e-commerce, software updates, financial transactions and anywhere forgery or tampering must be detected.

How a digital signature is created and checkedDocumentHashe.g. SHA-256Encrypt hashsender's private keyDocument + signatureReceiverdecrypts with public keyCompare with own hashmatch = genuine and unchanged
Figure 2. A digital signature: the hash is encrypted with the sender’s private key; anyone with the public key can check it.

Access control

Access control limits who can use a system or a physical or virtual resource, and what they may do with it. The simplest form is a username and password; stronger forms add multi-factor authentication, role-based permissions and regular access reviews. Physical access control (badges, locks, guarded doors) applies the same idea to buildings and server rooms.

Real-world example: a passive and an active attack in one week

A small accountancy firm saw both kinds of attack in the same week. In the passive case, a junior accountant logged in to an old supplier portal from a coffee shop's open Wi-Fi. The portal used plain HTTP, so anyone on that network capturing traffic could have read the password without changing anything. The firm stopped using the portal until the supplier enabled HTTPS, and told staff to use the company VPN on public Wi-Fi.

In the active case, a client received an email that appeared to come from the firm, with an invoice whose bank details had been changed. That attack targeted integrity: the message had been altered. The firm now signs outgoing emails digitally, and tells clients that bank details will never change by email and must always be confirmed by phone on a known number.

Practice

Is packet sniffing an active or passive attack?
Passive: the attacker only reads traffic and does not change it.
Which key does a sender use to create a digital signature?
Their own private key. Anyone can verify it with the matching public key.
Name one mechanism for each part of CIA.
Confidentiality: encryption. Integrity: hashing. Availability: redundancy or patching.

Key takeaways

  • Information security protects information from unauthorised access, change, disruption or destruction.
  • Passive attacks observe; active attacks change, replay or fake data.
  • CIA: confidentiality, integrity and availability.
  • Encryption uses an algorithm and a key; symmetric uses one key, asymmetric uses a key pair.
  • Digital signatures prove origin and integrity; access control limits who can do what.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.