IT 204: E-Commerce
By the end of this chapter, you will be able to:
No single technology can protect an e-commerce site completely. A robust security strategy involves multiple layers of defense.
Protects data in transit.
Protects the network perimeter.
Protects individual machines.
Let's explore each layer in detail.
Select a tool (top), then click its matching role (below) to pair them.
All matched correctly! Great job!
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.
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.
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.
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.
A cryptographic hash maps input data to a fixed-length digest. It is not designed to be reversed to recover the message.
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.
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.
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.
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.
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.
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.
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?
Traffic between your browser and the endpoint named in the connection.
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.
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:
These two tools serve different, but complementary, security functions.
Read each security scenario and choose: would a Firewall or Antivirus be the primary tool to address it?
For more advanced security, businesses may use additional technologies.
An intermediary server that hides the client's identity, adding a layer of anonymity and security.
Creates a secure, encrypted connection over a public network, often used for remote access to a corporate network.
Monitors network or system activities for malicious activity or policy violations. It acts like a digital burglar alarm.
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.
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.
Tools complement one another. Detection is not the same as prevention, and no control eliminates every risk.
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.
Key Challenges in Nepal: Cost of technology, a shortage of skilled cybersecurity personnel, and a lack of security awareness among smaller businesses.
Modern context: SSL is obsolete; use TLS. Browser indicators vary. HTTPS authenticates the named endpoint, not merchant honesty.
Short answer
Long answer
Revise the answers in the full note.
Unit 4.4: E-commerce Payment Systems