Explain network security methods (encryption, firewalls)
14 Communications Technology
Network Security Methods
Network security protects data as it travels across the internet. Two main tools are encryption (scrambling data) and firewalls (guarding the network).
Exam Tip: Remember that encryption is about confidentiality, while firewalls are about access control.
Encryption
Think of encryption as writing a diary in a secret code. Only someone with the right key can read it. 🔒
- 🔑 Symmetric encryption uses the same key for both writing and reading. Fast but the key must be shared securely.
- 🔐 Asymmetric encryption uses a public key to encrypt and a private key to decrypt. Slower but safer for key exchange.
- 📚 Common algorithms: AES, DES, 3DES, RSA, ECC.
Encryption Types
| Type | Key Length | Speed | Example |
|---|---|---|---|
| Symmetric | 128–256 bits | Fast | AES-256 |
| Asymmetric | 2048–4096 bits | Slower | RSA-2048 |
Mathematically, encryption can be shown as:
$E_{k}(m)$ – encrypt message $m$ with key $k$
$D_{k}(c)$ – decrypt ciphertext $c$ with key $k$
Firewalls
A firewall is like a guard at a castle gate. It decides which visitors (data packets) are allowed in or out based on rules. 🛡️
- 🕹️ Packet filtering checks the header of each packet.
- 🔄 Stateful inspection remembers the state of connections.
- 🧩 Application layer filtering looks at the content of the packet.
Firewall Types
- Hardware firewalls – physical devices between networks.
- Software firewalls – installed on individual computers.
- Cloud firewalls – virtual appliances in the cloud.
Exam Tip: When asked about firewalls, mention the three main types and give an example rule (e.g., block all incoming traffic on port 23).
Revision
Log in to practice.
0 views
0 suggestions