×
1 Lessons
1 Lessons
2 Lessons
2 Lessons
2 Lessons
2 Lessons
1 Lessons
2 Lessons
2 Lessons
2 Lessons
2 Lessons
1 Lessons
2 Lessons
2 Lessons

Network security fundamentals

Introduces fundamental techniques for protecting networks, devices and network traffic.

2 Lessons
2 Lessons
1 Lessons
2 Lessons

Course: Computer Networking
Level: Beginner
Recommended Duration: 2–3 Hours
Font Size: 13 pt
Line Spacing: 1.5
Delivery Mode: Physical and Online Learning

Lesson: Network Security Concepts

1. Lesson Introduction

Computer networks allow users and devices to communicate and share information. However, connecting computers to a network also creates security risks. Attackers may attempt to access systems without permission, steal information, modify data, install malware, or make network services unavailable.

Network security is therefore an important part of computer networking. It combines security policies, technologies, configurations, and user practices to protect network devices, systems, applications, and data from unauthorized access, misuse, disruption, and attacks. Modern network security normally uses multiple layers of protection rather than relying on a single security mechanism.

In this lesson, learners will be introduced to the major concepts used to secure computer networks.

2. Learning Objectives

By the end of this lesson, the learner should be able to:

  1. Define network security.

  2. Explain why network security is important.

  3. Identify common network security threats.

  4. Explain confidentiality, integrity, and availability.

  5. Differentiate authentication and authorization.

  6. Explain access control.

  7. Describe encryption and its purpose.

  8. Explain the role of firewalls.

  9. Differentiate IDS and IPS.

  10. Explain network segmentation.

  11. Describe VPNs and their security purpose.

  12. Explain secure wireless networking.

  13. Identify common network security practices.

  14. Apply basic security principles to a small network.

  15. Identify common network security problems and suggest appropriate controls.

3. Meaning of Network Security

Network security refers to the policies, procedures, technologies, and practices used to protect a computer network and its resources from unauthorized access, attacks, misuse, damage, and disruption.

Network security protects:

  • Computers

  • Servers

  • Routers

  • Switches

  • Wireless access points

  • Network applications

  • Databases

  • Files

  • User accounts

  • Internet connections

  • Cloud resources

  • Network traffic

For example, a training institution may use passwords, firewall rules, secure Wi-Fi, antivirus software, VLANs, user permissions, and regular backups to protect its network.

4. Why Network Security Is Important

A network may contain valuable information such as:

  • Student records

  • Employee information

  • Financial information

  • Passwords

  • Business documents

  • Customer information

  • Examination records

  • Research data

  • Email communication

If attackers gain unauthorized access, the organization may experience financial losses, data breaches, service interruption, reputational damage, or loss of important information.

Network security helps organizations:

  • Prevent unauthorized access.

  • Protect confidential information.

  • Detect suspicious activity.

  • Reduce the impact of attacks.

  • Maintain network availability.

  • Protect users and devices.

  • Support business continuity.

  • Meet security and compliance requirements.

5. The CIA Triad

One of the fundamental concepts of information and network security is the CIA triad.

CIA stands for:

  • Confidentiality

  • Integrity

  • Availability

5.1 Confidentiality

Confidentiality means ensuring that information is accessible only to authorized people or systems.

Example:

A student's academic record should only be accessible to authorized staff and the student where appropriate.

Security controls that support confidentiality include:

  • Passwords

  • Access permissions

  • Encryption

  • Multi-factor authentication

  • Network segmentation

5.2 Integrity

Integrity means protecting information from unauthorized or accidental modification.

Example:

If a student's examination mark is 70%, an unauthorized person should not be able to change it to 90%.

Integrity can be supported by:

  • Access controls

  • Hashing

  • Digital signatures

  • File permissions

  • Audit logs

  • Change management

5.3 Availability

Availability means ensuring that authorized users can access systems and information when needed.

Example:

An online learning platform should remain available to students and instructors during training.

Availability can be improved through:

  • Backups

  • Redundant network equipment

  • Reliable power

  • Network monitoring

  • Disaster recovery

  • Protection against denial-of-service attacks

6. Authentication

Authentication is the process of verifying the identity of a user, device, or service.

A common example is entering:

Username + Password

Other authentication methods include:

  • PINs

  • Security tokens

  • One-time passwords

  • Smart cards

  • Fingerprints

  • Facial recognition

  • Mobile authentication applications

  • Multi-factor authentication

Modern authentication guidance from NIST describes authentication as establishing that a person attempting to access a digital service controls the authenticator associated with the claimed identity.

7. Authorization

Authorization determines what an authenticated user is allowed to access or do.

For example:

A user may successfully log into a school management system but may only be authorized to view student information.

An administrator may be authorized to:

  • Create accounts

  • Delete accounts

  • Change permissions

  • Configure the system

  • View reports

Therefore:

Authentication = Who are you?

Authorization = What are you allowed to do?

8. Access Control

Access control is the process of regulating who or what can access network resources.

Examples include:

  • User accounts

  • Password policies

  • File permissions

  • Firewall rules

  • VLAN restrictions

  • Access Control Lists (ACLs)

  • Role-based permissions

  • Device authentication

NIST identifies access control as a fundamental aspect of computer security and explains that it involves both authentication and the structure of authorizations.

9. Principle of Least Privilege

The principle of least privilege means giving a user, application, or device only the permissions necessary to perform its required tasks.

For example:

A receptionist may need access to appointment information but does not necessarily need administrator access to the entire server.

This reduces the damage that can occur if an account is compromised.

10. Password Security

Passwords are one of the most common methods of authentication.

A good password policy should encourage users to:

  • Use sufficiently long passwords.

  • Avoid easily guessed information.

  • Avoid sharing passwords.

  • Use unique passwords for important accounts.

  • Use a password manager where appropriate.

  • Enable multi-factor authentication where available.

Weak passwords such as:

123456
password
admin
uganda123

can be easily guessed or attacked.

11. Multi-Factor Authentication

Multi-factor authentication, or MFA, requires more than one form of verification.

The factors commonly include:

  1. Something you know — password or PIN.

  2. Something you have — phone, security key, or token.

  3. Something you are — fingerprint or facial recognition.

Example:

A staff member enters a password and then confirms a login using an authentication application on a mobile phone.

Even if the password is stolen, the attacker may still be unable to access the account without the second factor.

12. Encryption

Encryption converts readable information, known as plaintext, into protected information called ciphertext.

The encrypted information can only be properly understood after the appropriate decryption process.

Example:

A learner logs into an online learning platform over HTTPS. Encryption helps protect information transmitted between the learner's device and the website.

Encryption can protect:

  • Passwords in transit

  • Financial transactions

  • Emails

  • VPN communications

  • Stored files

  • Database information

  • Wireless communications

Encryption is an important security mechanism because intercepted information may otherwise be readable.

13. Firewall

A firewall is a security control that monitors and controls network traffic according to defined security rules.

A firewall can decide whether particular traffic should be:

  • Allowed

  • Blocked

  • Logged

  • Inspected

For example:

A company may configure its firewall to allow web traffic while blocking unauthorized incoming connections to internal servers.

Firewalls may be implemented as:

  • Hardware appliances

  • Software firewalls

  • Cloud-based firewalls

  • Next-generation firewalls

Modern network security commonly combines firewalls with other controls such as IDS/IPS, segmentation, VPNs, and monitoring.

14. Intrusion Detection System (IDS)

An Intrusion Detection System monitors network or system activity and looks for suspicious behavior.

An IDS can generate an alert when it identifies potentially malicious activity.

Example:

An IDS detects repeated suspicious connection attempts against a server and alerts the network administrator.

IDS primarily focuses on detection and alerting.

15. Intrusion Prevention System (IPS)

An Intrusion Prevention System can detect suspicious activity and take action to prevent or block it.

For example:

An IPS may identify malicious traffic and block the connection.

Simple distinction:

IDS → Detects and alerts.

IPS → Detects and can prevent/block.

16. Antivirus and Endpoint Security

Network security is not limited to routers and firewalls.

Computers and other devices connected to a network must also be protected.

Endpoint security can include:

  • Antivirus software

  • Anti-malware protection

  • Host firewalls

  • Security updates

  • Device encryption

  • Application controls

  • Device management

A compromised laptop can become a pathway for attackers to enter other systems.

17. Network Segmentation

Network segmentation divides a network into separate logical or physical sections.

For example, an organization could create separate network segments for:

  • Administration

  • Students

  • Staff

  • Guests

  • Servers

  • CCTV

  • Voice communication

VLANs are commonly used to implement logical network segmentation.

Segmentation can limit how far an attacker can move after compromising one part of a network.

18. Secure Wireless Networking

Wireless networks require appropriate security controls because users connect through radio communication.

Important wireless security practices include:

  • Use modern Wi-Fi security.

  • Change default administrator credentials.

  • Use strong Wi-Fi passwords.

  • Disable unnecessary services.

  • Create a separate guest network.

  • Update access point firmware.

  • Monitor connected devices.

  • Avoid using obsolete security protocols.

Example:

A training institution can provide:

Staff Wi-Fi → Internal resources

Student Wi-Fi → Learning resources

Guest Wi-Fi → Internet only

This reduces unnecessary access between different groups.

19. Virtual Private Network (VPN)

A Virtual Private Network creates a protected communication path over another network, commonly the Internet.

VPNs can be used for:

  • Remote workers

  • Site-to-site connections

  • Secure access to organizational systems

  • Connecting branches

  • Protecting traffic over untrusted networks

Example:

An employee working from home may use a company VPN to securely access internal resources.

20. Security Updates and Patch Management

Software and network devices may contain vulnerabilities.

Manufacturers regularly release updates to correct security weaknesses.

Devices that may require updates include:

  • Routers

  • Switches

  • Firewalls

  • Access points

  • Servers

  • Operating systems

  • Applications

  • Network management systems

Ignoring security updates can leave known vulnerabilities exposed.

21. Network Monitoring

Network monitoring involves observing network devices, traffic, performance, and security events.

Administrators may monitor:

  • Login attempts

  • Failed authentication

  • Bandwidth usage

  • Device availability

  • Unusual traffic

  • Firewall events

  • Configuration changes

  • Server activity

Monitoring helps administrators identify problems before they become serious incidents.

22. Logging and Auditing

Network devices and applications can generate logs containing information about activities.

Examples:

  • Successful logins

  • Failed logins

  • Firewall blocks

  • Configuration changes

  • System errors

  • Connection attempts

Logs can help administrators investigate security incidents.

23. Common Network Security Threats

Some common threats include:

Malware

Malicious software designed to damage systems, steal information, or perform unauthorized activities.

Examples:

  • Viruses

  • Worms

  • Trojans

  • Ransomware

  • Spyware

Phishing

Phishing attempts to trick users into revealing information or performing an unsafe action.

Example:

A user receives a fake email asking them to enter their account password on a fraudulent website.

Password Attacks

Attackers may attempt to obtain passwords through:

  • Guessing

  • Credential theft

  • Password spraying

  • Brute-force attacks

  • Social engineering

Denial-of-Service Attacks

A denial-of-service attack attempts to make a service unavailable by overwhelming or disrupting it.

Man-in-the-Middle Attacks

An attacker attempts to intercept or interfere with communication between two parties.

Rogue Devices

An unauthorized device may be connected to the network and create a security risk.

Insider Threats

A legitimate user may intentionally or accidentally cause security problems.

24. Network Security Policies

Organizations should establish clear security policies.

A network security policy may address:

  • Password requirements

  • Acceptable Internet use

  • Device usage

  • Remote access

  • Wi-Fi usage

  • Software installation

  • Data protection

  • Account management

  • Incident reporting

  • Backup procedures

Technical controls are more effective when supported by appropriate policies and user awareness.

25. Physical Network Security

Physical security is also part of network security.

Examples include:

  • Locking network equipment rooms

  • Restricting access to server rooms

  • Securing network racks

  • Protecting network cables

  • Using CCTV

  • Controlling visitor access

  • Protecting backup devices

  • Providing reliable power protection

An attacker does not always need to attack a network remotely. Physical access to network equipment can create serious risks.

26. Defense in Depth

Defense in depth means using multiple layers of security.

For example:

Internet
↓
Firewall
↓
Router
↓
VLAN/Segmentation
↓
Authentication
↓
Endpoint Security
↓
Application Security
↓
Data Protection

If one security control fails, other controls may still provide protection.

This layered approach is a major principle of modern network security.

27. Example: Securing a Training Institution Network

Consider a training institution with:

  • 30 student computers

  • 10 staff computers

  • 2 servers

  • Wi-Fi access points

  • Network printer

  • Internet connection

A basic security design could include:

  1. Firewall at the Internet gateway.

  2. Separate student and staff VLANs.

  3. Strong administrator passwords.

  4. Secure Wi-Fi.

  5. Guest network for visitors.

  6. User authentication.

  7. Regular software updates.

  8. Antivirus/endpoint protection.

  9. Server backups.

  10. Network monitoring.

  11. Access permissions.

  12. Security awareness training.

This demonstrates that network security is not one device or one software package. It is a combination of controls.

28. Network Security Technologies Summary

Technology/ConceptMain Purpose
AuthenticationVerifies identity
AuthorizationDetermines allowed actions
FirewallControls network traffic
IDSDetects suspicious activity
IPSDetects and can block threats
EncryptionProtects information from unauthorized reading
VPNProvides protected remote/network communication
VLANSegments a network
AntivirusProtects endpoints from malware
ACLControls access according to rules
MFAStrengthens authentication
MonitoringObserves network activity
BackupSupports recovery
Patch managementFixes known vulnerabilities

29. Common Network Security Problems

Problem 1: Weak Passwords

Possible solution:

  • Establish password requirements.

  • Use MFA.

  • Disable compromised accounts.

Problem 2: Unauthorized Device

Possible solution:

  • Use network access controls.

  • Monitor connected devices.

  • Separate guest networks.

Problem 3: Malware Infection

Possible solution:

  • Isolate the affected device.

  • Run security scans.

  • Update software.

  • Investigate the source of infection.

Problem 4: Unauthorized Network Access

Possible solution:

  • Review firewall rules.

  • Check user permissions.

  • Examine logs.

  • Strengthen authentication.

Problem 5: Unsecured Wireless Network

Possible solution:

  • Enable appropriate wireless security.

  • Change default credentials.

  • Use a strong Wi-Fi password.

  • Separate guest access.

30. Practical Activity 1: Identify Security Controls

Learners should identify the security controls used in a computer lab.

Identify whether each item provides network security:

  1. Firewall

  2. Password

  3. Antivirus

  4. Network switch

  5. VLAN

  6. Backup

  7. UPS

  8. MFA

  9. CCTV

  10. VPN

For each item, explain the security problem it helps address.

31. Practical Activity 2: Secure a Small Network

Design a network containing:

  • One router

  • One switch

  • One server

  • Five computers

  • One wireless access point

Add at least five security controls.

Learners should explain why each control is necessary.

32. Practical Activity 3: Authentication and Authorization

Create three user roles:

  • Administrator

  • Instructor

  • Student

Decide which resources each role should access.

Example:

ResourceAdministratorInstructorStudent
Network configurationYesNoNo
Course materialsYesYesYes
Student marksYesYesLimited
User managementYesNoNo
InternetYesYesYes

Discuss why users should not all have administrator privileges.

33. Practical Activity 4: Firewall Rules

Create a simple hypothetical firewall policy.

Example:

TrafficAction
Authorized web trafficAllow
Unauthorized incoming connectionBlock
Known malicious trafficBlock
Approved administration connectionAllow
Suspicious trafficInspect/Alert

Learners should explain the reason for every rule.

34. Practical Activity 5: Security Incident Scenario

Scenario:

A staff member receives an email containing a suspicious link. The staff member clicks it and notices unusual computer behavior.

Answer:

  1. What could have happened?

  2. What should the staff member do immediately?

  3. Should the computer remain connected to the network?

  4. Who should be notified?

  5. What evidence should be preserved?

  6. Which security controls could have helped prevent the incident?

35. Assessment Questions

  1. What is network security?

  2. Why is network security important?

  3. Explain confidentiality.

  4. Explain integrity.

  5. Explain availability.

  6. What is authentication?

  7. What is authorization?

  8. Differentiate authentication and authorization.

  9. What is a firewall?

  10. What is an IDS?

  11. What is an IPS?

  12. Differentiate IDS and IPS.

  13. What is encryption?

  14. What is a VPN?

  15. Explain network segmentation.

  16. What is the principle of least privilege?

  17. Give four examples of network security threats.

  18. Why are software updates important?

  19. Explain the importance of secure Wi-Fi.

  20. What is defense in depth?

36. Assignment

Design a network security plan for a small computer training centre.

Your design should include:

  • Internet connection

  • Router

  • Firewall

  • Switch

  • Wireless access point

  • Student computers

  • Staff computers

  • Server

  • Guest users

Explain:

  1. How users will authenticate.

  2. How different users will be separated.

  3. How wireless access will be secured.

  4. How Internet traffic will be controlled.

  5. How malware will be addressed.

  6. How data will be backed up.

  7. How security events will be monitored.

  8. What should happen when a security incident occurs.

37. Key Terms

  • Network security

  • Threat

  • Vulnerability

  • Risk

  • Confidentiality

  • Integrity

  • Availability

  • Authentication

  • Authorization

  • Access control

  • Firewall

  • IDS

  • IPS

  • Encryption

  • VPN

  • VLAN

  • Malware

  • Phishing

  • Endpoint security

  • Network monitoring

  • Least privilege

  • Multi-factor authentication

  • Defense in depth

38. Lesson Summary

Network security protects computer networks, devices, users, applications, and data against unauthorized access, attacks, misuse, and disruption.

The major concepts covered in this lesson include:

  • CIA triad

  • Authentication

  • Authorization

  • Access control

  • Least privilege

  • Password security

  • MFA

  • Encryption

  • Firewalls

  • IDS and IPS

  • Endpoint security

  • Network segmentation

  • VPNs

  • Wireless security

  • Patch management

  • Monitoring

  • Logging

  • Security policies

  • Physical security

  • Defense in depth

A secure network should not depend on one security mechanism. Multiple controls should work together to reduce risk and protect the organization.