A LAN (Local Area Network) covers one site, like a school or office.
A WAN (Wide Area Network) covers a large geographical area and links multiple LANs, often using third-party infrastructure like phone lines or satellites - the internet is the largest WAN.
Key hardware: a switch connects devices within a LAN and directs data only to the correct device using MAC addresses.
A router connects different networks together (e.g. a LAN to the internet) and directs data using IP addresses.
A network interface card (NIC) allows a device to connect to a network, and has a unique MAC address burned in at manufacture.
Wi-Fi uses radio waves and needs a wireless access point; Ethernet uses cables and is generally faster and more reliable.
In a star topology, every device connects to a central switch or hub - if one cable fails only that device drops off, but if the switch fails the whole network goes down.
In a mesh topology, devices connect directly to many other devices, giving high reliability with no single point of failure, but it is expensive and complex to set up.
DNS (Domain Name System) translates human-readable domain names into IP addresses.
An IP address identifies a device on a network; IPv4 uses 32 bits (e.g. 192.168.1.1) giving about 4.3 billion addresses, while IPv6 uses 128 bits to solve address exhaustion.
TCP/IP is the protocol stack that governs how data is split into packets, addressed, sent and reassembled.
HTTP transfers web pages in plain text; HTTPS does the same but encrypts the data using TLS/SSL, shown by the padlock icon.
Common mistake: students confuse HTTP and HTTPS - only HTTPS is encrypted, HTTP is not secure for sensitive data.
Other key protocols: FTP transfers files, SMTP sends email, IMAP/POP3 receive email.
Malware includes viruses (attach to files and self-replicate), worms (self-replicate without a host file, spreading across networks), trojans (disguised as legitimate software), spyware and ransomware (encrypts files and demands payment).
Social engineering exploits people rather than technology - phishing sends fake emails/messages to trick users into giving up data.
Other threats: brute-force attacks (trying many passwords), denial-of-service (DoS) attacks flood a server with traffic to take it offline, SQL injection inserts malicious code into a database via an input box, and man-in-the-middle attacks intercept communication between two parties.
Penetration testing simulates an attack to find weaknesses before criminals do.
Anti-malware software detects and removes malicious programs.
Firewalls monitor and control incoming/outgoing traffic based on security rules, blocking unauthorised access.
User access levels restrict what different users can see or do on a system.
Passwords should be strong (mixing cases, numbers, symbols) and systems should use encryption to protect data in transit and at rest.
Common mistake: encryption prevents data being read if intercepted, but does NOT prevent an attack happening in the first place - it is not the same as a firewall.
Physical security (locks, biometrics) also matters alongside software defences.