Learning Objectives

  • Define network security and list practical measures by purpose.
  • Describe firewall purpose, hardware versus software, and four types.
  • Distinguish encryption and decryption with a simple cipher.
  • Contrast symmetric and asymmetric encryption by keys, speed, and use.
  • Explain how HTTPS, digital signature, and VPN apply encryption in BBM operations.

The Open Door on a Saturday

A cooperative in Chitwan lets its accounting server answer requests from the internet without a firewall. One guessed password later, the ledger is encrypted and the branch cannot close books.

Grouped Framework A: Controls by Purpose

Purpose Control BBM example Verifiable check
Boundary filtering Firewall at edge Blocks random RDP attempts Log shows dropped probes
Confidentiality Encryption in transit and at rest Card data unread if intercepted HTTPS on portal, encrypted backup
Identity Strong authentication and MFA Stolen password alone fails OTP required for remote access
Detection IDS and IPS, antivirus Finds malware spread after one click Alerts reviewed daily
Remote integrity VPN tunnel Staff on public Wi Fi safe Remote staff must use VPN
Resilience Patching and offline backup Known flaw closed Restore tested quarterly

Grouped Framework B: Firewalls

A firewall filters incoming and outgoing traffic against rules and drops what does not match. It creates a trusted inside and an untrusted outside.

flowchart LR
  NET[Internet: untrusted] --> FW{Firewall rules}
  FW -->|Allowed: web traffic to public site| LAN[Internal network: trusted]
  FW -->|Blocked: unknown remote login| X[Dropped]

Hardware versus software

Aspect Hardware firewall Software firewall
Form Appliance or router function Program on each PC
Protects Whole network behind it Only that host
Example Office firewall appliance Windows Defender Firewall
Best for Blocking before LAN Controlling apps on that PC

Most BBM operations need both: hardware at the edge, software on each till and server.

Types by depth

Type What it checks Strength
Packet filtering Source, destination, port, protocol Fast, basic
Stateful inspection Connection state Allows only reply that belongs to session
Proxy or application level Content of request Deep inspection, slower
Next generation NGFW Filtering plus app awareness plus IPS Combined edge control

Rule quality decides. A rule that allows any to any on any port is not control.

Grouped Framework C: Encryption and How Keys Differ

Encryption turns plain text into ciphertext with an algorithm and a key. Decryption reverses it. With Caesar key 3, HELLO becomes KHOOR and back. Modern ciphers such as AES use complex maths. Principle stands: no key, no read.

Aspect Symmetric Asymmetric
Keys One shared secret Public encrypts, private decrypts
Speed Fast, good for large data Slower, good for key exchange
Hard problem Sharing the secret safely Managing public keys, keeping private key private
Examples AES RSA, ECC
BBM use Encrypt nightly POS backup Exchange the AES key, verify signature

Everyday use: HTTPS with TLS shows a padlock and negotiates a session key, digital signature proves source and integrity by signing a hash with a private key, VPN builds an encrypted tunnel for public Wi Fi.

Nepal Worked Example: NPR Cost on BS 2081

Scenario dated Ashwin 18, 2081. A 6 room hotel and cafe in Nagarkot has one server, four front office PCs, and two managers working from home twice a week. Current state is no edge firewall, no VPN, one shared password, no tested backup.

Small secure setup, Year 1:

  • Hardware firewall appliance with subscription and install: NPR 95,000
  • VPN for two managers: NPR 18,000
  • HTTPS cert and portal hardening: NPR 8,000
  • MFA for five users at 900 each: NPR 4,500
  • Offline drive plus cloud copy and quarterly test: NPR 22,000

Total Year 1 is 95,000 + 18,000 + 8,000 + 4,500 + 22,000 = NPR 147,500.

Risk costing for insecure path: chance of material incident in 2081 is 30 percent. Single incident cost is NPR 420,000 made of 3 days closure at 80,000 per day, recovery 90,000, and compensation 90,000. Expected loss is 0.30 x 420,000 = NPR 126,000. With secure setup, chance falls to 7 percent, expected loss is 0.07 x 420,000 = NPR 29,400. Total expected with setup is 147,500 + 29,400 = NPR 176,900 for Year 1.

Year 1 looks higher than doing nothing because hardware is fixed. Year 2 without hardware purchase, only subscriptions and backup at about NPR 62,500 plus 29,400 = NPR 91,900 against insecure 126,000, so Year 2 is about NPR 34,100 cheaper on expectation, before counting trust.

Self-Check

Self-check

Try This

A retail store in Bhaktapur plans remote ledger access on Falgun 20, 2081. Link is 20 Mbps. Nightly backup is 5.2 GB. Symmetric encryption slows transfer by 6 percent, VPN overhead adds 8 percent.

  1. Compute base transfer time for 5.2 GB at 20 Mbps in seconds and minutes. Use 5.2 x 8,000 megabits divided by Mbps.
  2. Apply 6 percent then 8 percent overhead in order. What is total time?
  3. If the store skips encryption and sends plain over public Wi Fi, what risk appears? Which use would have prevented reading if intercepted?
  4. Compare expected incident loss NPR 126,000 to one time VPN and MFA cost 22,500. Which is cheaper?
Answer sketch 1. Base is 5.2 x 8,000 = 41,600 divided by 20 = 2,080 seconds, about 34.7 minutes. 2. After 6 percent, 2,080 x 1.06 = 2,204.8 seconds. After 8 percent, 2,204.8 x 1.08 = 2,381.2 seconds, about 39.7 minutes. 3. Plain is readable if intercepted. Symmetric file encryption plus VPN tunnel would make capture useless. 4. 22,500 is well below 126,000. The control is cheaper than the gamble.

Key Takeaways

  • Layers are boundary, confidentiality, identity, detection, remote integrity, and resilience.
  • Hardware and software firewalls are complements. Type decides depth from port to app content.
  • Encryption without the key yields no read. Symmetric is fast for bulk, asymmetric solves key sharing and signing.
  • HTTPS, signatures, VPN, and encrypted backups apply the same primitives to different BBM channels.

Exam-Style Questions

Short answer

  1. What is a firewall? Contrast hardware and software by what each protects.
  2. Use HELLO with key 3 to show encryption and decryption.
  3. Distinguish symmetric from asymmetric by keys and speed.

Long answer

  1. Explain four types of firewalls and when a BBM retail chain uses each.
  2. Explain how symmetric and asymmetric encryption are combined in HTTPS and VPN. Include a simple cipher and why retail backup encryption matters.