Unit 4.3: Technology Solutions for E-commerce Security

--:-- --
↓ Scroll for more

Unit 4.3

Technology Solutions for E-commerce Security

IT 204: E-Commerce

Learning Objectives

By the end of this chapter, you will be able to:

  • ✅ Identify the key technology solutions for e-commerce security.
  • ✅ Explain the role of encryption and SSL/TLS in securing communications.
  • ✅ Describe the function of a firewall and compare it to antivirus software.

A Multi-Layered Approach to Security

No single technology can protect an e-commerce site completely. A robust security strategy involves multiple layers of defense.

🛡️ Encryption

Protects data in transit.

🧱 Firewalls

Protects the network perimeter.

🦠 Antivirus

Protects individual machines.

Let's explore each layer in detail.

Match the Security Layer

Select a tool (top), then click its matching role (below) to pair them.

Protects data in transit  
Protects the network perimeter  
Protects individual machines  
Multi-Layered Security

1. Encryption: The Core of E-commerce Security

Encryption is the process of transforming plain text (readable data) into a coded, unreadable format called ciphertext.

Plaintext: "CreditCard: 1234-5678-9012-3456"

⬇️ (Encryption Algorithm + Key) ⬇️

Ciphertext: "aJd8!#fGkL$pQzX@bN2r^tYh"

It is the most essential tool for securing sensitive transaction data.

Encryption Step-by-Step Simulator

Conceptual animation only; no real encryption is performed. Use fictional data only, never real card details.

Click Next Step to walk through the encryption and decryption process.

Status
Ready to begin...
Press Next Step to start.

Two Key Models, Different Jobs

Symmetric encryption

Sender and receiver use a shared secret key to encrypt and decrypt.

Efficient for large amounts of data; the key must be protected and established securely.

Example algorithm: AES.

Public-key cryptography

A related public/private key pair supports operations such as key establishment and digital signatures.

The private key must remain secret. Not every public-key algorithm performs encryption.

Example use: authenticate a server during TLS.

Modern TLS combines public-key techniques with symmetric traffic protection. It does not encrypt every webpage byte using the server's public key.

🎬 Watch: One Key or Two?

Hashing Is Not Encryption

A cryptographic hash maps input data to a fixed-length digest. It is not designed to be reversed to recover the message.

  • Recompute a trusted digest to check whether a downloaded file has changed.
  • A digest alone does not identify the sender: an attacker could replace both an untrusted file and its displayed digest.
  • Passwords need a salted, purpose-built password-hashing scheme, not a fast general-purpose hash alone.

Can the merchant decrypt a hash digest to recover a forgotten password?

No. Use a secure reset process. Hashing and reversible encryption solve different problems.

Hashing vs Encryption

encryption (reversible with key) vs hashing (one-way digest)

Digital Signatures: Integrity and Origin

  1. The signer signs the message using a digital-signature algorithm and their private key; modern schemes incorporate hashing.
  2. The receiver verifies the signature against the message using the corresponding public key.
  3. Verification can detect altered content and support attribution to the key holder, provided the public key is trusted and the private key is protected.

A signed invoice is sent without encryption. Can observers still read it? What happens if the amount is changed afterward?

Yes, the content may be readable: signing is not confidentiality. Changing signed content causes verification to fail. Key custody and identity evidence still matter for disputes.

Sign, Then Verify

hash → sign with private key → send → verify with public key
Encryption Process Diagram

Encryption in Action: SSL/TLS

Modern context: SSL is obsolete; use TLS. Browser indicators vary. HTTPS authenticates the named endpoint, not merchant honesty.

How is encryption implemented on the web? Through SSL/TLS.

  • SSL/TLS (Secure Sockets Layer / Transport Layer Security) is the standard technology for encrypting the communication between a user's browser and a web server.
  • It creates a secure, private "tunnel" for your data over the public internet.

🔍 How to Spot a Secure Connection

When SSL/TLS is active, you'll see two key indicators in your browser:

1. The URL starts with HTTPS (not HTTP).

2. A padlock icon 🔒 appears in the address bar.

SSL/TLS Quick Quiz

Modern context: SSL is obsolete; use TLS. Browser indicators vary. HTTPS authenticates the named endpoint, not merchant honesty.

Answer each question — click a choice to see instant feedback.

Q1: A website using HTTPS means its connection is encrypted via SSL/TLS.
Q2: The padlock icon in the browser address bar means your browser has a virus.
Q3: TLS is the modern, more secure successor to SSL.

Certificates and a Modern TLS Connection

  1. Certificate: binds a public key to an identity such as a domain; a certificate authority signs it.
  2. Validation: the browser checks the hostname, validity period and trust chain, and the server proves control of its private key.
  3. Key establishment: the handshake establishes shared traffic keys; modern TLS commonly uses ephemeral key agreement.
  4. Traffic protection: symmetric authenticated encryption protects confidentiality and integrity between the TLS endpoints.

A CA does not issue the server's private key as part of the public certificate. Domain validation is not a guarantee that the business is honest.

Certificate Trust Chain

browser trust store → root CA → intermediate → server certificate

🎬 Watch: The TLS Handshake, Step 1–2

HTTPS: Secure Connection, Honest Shop?

A fake shop has a valid HTTPS certificate for its own lookalike domain. Its checkout asks for your wallet password. Should you trust it because the connection is encrypted?

HTTPS helps protect

Traffic between your browser and the endpoint named in the connection.

HTTPS does not prove

Seller honesty, safe goods, endpoint freedom from malware, or appropriate later use of your data.

Check the actual domain and use a trusted app/contact path. Browser security icons vary; never dismiss certificate warnings or equate a lock with merchant trust.

SSL/TLS Secure Tunnel

2. Firewalls: The Digital Gatekeeper

A firewall is a network security device that acts as a barrier between a trusted internal network and an untrusted external network (like the internet).

Its primary functions are to:

  • Monitor incoming and outgoing network traffic.
  • Filter traffic based on a defined set of security rules.
  • Block malicious or unauthorized traffic from entering the network.
Firewall Traffic Filtering

Firewall vs. Antivirus Software

These two tools serve different, but complementary, security functions.

🧱 Firewall

  • Focus: Network Traffic
  • Analogy: A security guard at the building's main gate.
  • Action: Blocks unauthorized access *to* the network.

🦠 Antivirus Software

  • Focus: Files & Software
  • Analogy: A security patrol checking rooms *inside* the building.
  • Action: Detects & removes malware *already on* a system.

Firewall or Antivirus? You Decide!

Read each security scenario and choose: would a Firewall or Antivirus be the primary tool to address it?

Loading scenario...

Beyond the Basics: Other Security Tools

For more advanced security, businesses may use additional technologies.

Proxies

An intermediary server that hides the client's identity, adding a layer of anonymity and security.

VPNs

Creates a secure, encrypted connection over a public network, often used for remote access to a corporate network.

Intrusion Detection Systems (IDS)

Monitors network or system activities for malicious activity or policy violations. It acts like a digital burglar alarm.

Explore the Advanced Security Tools

Proxy/VPN protection has limits: intermediaries can log data; protection ends at the tunnel endpoints. Detection is not prevention.

Click each card to reveal a deeper explanation, real-world use, and how it fits in a security strategy.

🔀
Proxies
Click to explore
🔐
VPNs
Click to explore
🚨
IDS
Click to explore

Match the Control to the Remaining Risk

In pairs, choose a control for each case and explain one limitation: suspicious database exports; traffic to an unused server port; an unpatched application; a stolen administrator password.

  • Suspicious exports: IDS/log monitoring can alert; someone must investigate. IPS may block configured patterns but can produce false positives.
  • Unused port: firewall rule plus service hardening; an allowed port is not automatically a safe application.
  • Unpatched app: patch and verify; encryption does not remove vulnerable code.
  • Stolen password: MFA, least privilege and account response; a VPN alone is insufficient.

Tools complement one another. Detection is not the same as prevention, and no control eliminates every risk.

Practical Application: Security in Nepal's E-commerce 🇳🇵

Status update (6 Nov 2026): Sastodeal is DOWN per Arjan; Daraz remains the live example. Historical names are not evidence of current operation.

The adoption of security technologies by e-commerce businesses in Nepal is growing, but faces challenges.

Current Adoption Status:

  • SSL Certificates: Widely used by major e-commerce sites (e.g., Daraz) to secure transactions.
  • Firewalls: Implemented by many businesses to protect their network infrastructure.
  • IDS: Used primarily by larger businesses and financial institutions with more resources.

Key Challenges in Nepal: Cost of technology, a shortage of skilled cybersecurity personnel, and a lack of security awareness among smaller businesses.

Secure E-commerce in Nepal

Key Takeaways 🎯

Modern context: SSL is obsolete; use TLS. Browser indicators vary. HTTPS authenticates the named endpoint, not merchant honesty.

  • A multi-layered approach (encryption, firewalls, antivirus) is crucial for effective e-commerce security.
  • Encryption is the core technology for protecting sensitive data like credit card numbers.
  • SSL/TLS is the standard that enables encrypted HTTPS connections, identifiable by the 🔒 icon.
  • A firewall acts as a perimeter defense, filtering malicious network traffic before it reaches your systems.

Discussion Questions 💬

  1. How can you, as a consumer, verify that an e-commerce website is using SSL/TLS to encrypt your connection?
  2. In your own words, what is the main difference between a firewall's job and an antivirus program's job?
  3. Why is encryption alone not enough to completely secure an e-commerce site? (Hint: Think about the multi-layered approach).

Exam Practice 📝

Short answer

  1. Distinguish between symmetric key and public key encryption.
  2. What is a hash digest?
  3. What is a digital certificate? Who issues it?

Long answer

  1. Explain how public key encryption, digital signatures, and digital certificates work together to secure e-commerce transactions.
  2. Describe the technology solutions used to protect e-commerce networks and servers.

Revise the answers in the full note.

Sources & Media Credits

Thank You!

Next Topic:

Unit 4.4: E-commerce Payment Systems

📖 Read the full note