E-commerce needs trust. Customers share names, addresses, and payment details. Merchants hold that data and depend on a site that stays up during Dashain peak. Security provides that trust across six dimensions and three points of attack.

Learning Objectives

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

  • Define the six dimensions of e-commerce security.
  • Compare customer and merchant views for each dimension.
  • Explain the tension between security, ease of use, cost, and privacy.
  • Identify the three points of vulnerability in a transaction.
  • Describe the security environment and legal framework in Nepal.

1. Six dimensions of security

graph TB
  SEC[Security Dimensions] --> INT[Integrity]
  SEC --> NR[Nonrepudiation]
  SEC --> AUTH[Authenticity]
  SEC --> CONF[Confidentiality]
  SEC --> PRIV[Privacy]
  SEC --> AVAIL[Availability]

Figure 1: Six dimensions that together define e-commerce security

Dimension Definition Customer question Merchant question
Integrity Data arrives unchanged Did anyone alter my order or the price? Has anyone changed our catalog or order records?
Nonrepudiation Parties cannot deny their actions Can the seller deny the promised delivery date? Can a buyer deny placing a COD order?
Authenticity Identity is provable Is this the real shop or a fake copy? Is this buyer who they claim to be?
Confidentiality Data is visible only to authorized parties Can anyone else read my card details? Can outsiders read our customer database?
Privacy Controlled collection and use of personal data Will my data be sold without consent? Are we using data lawfully and minimally?
Availability System is reachable when needed Can I check out now? Is the site fast and up at peak?

Integrity and authenticity fail together when a fake page swaps a payment QR. Confidentiality and privacy fail together when leaked phone numbers attract vishing calls.

2. Security versus other values

Stronger security adds friction and cost.

  • Ease of use. Extra OTPs, CAPTCHAs, and re-authentication reduce conversion. A guest checkout may lift sales but raises fraud.
  • Cost and speed. Encryption, monitoring, audits, and DDoS protection cost money and can slow pages. A small shop cannot fund bank-grade controls.
  • Privacy and public safety. Government requests for data access conflict with privacy. Encryption protects users and can also hide wrongdoing.

Design matches controls to risk. View a product needs little. Pay NPR 50,000 needs strong authentication, signed records, and settlement confirmation. Risk based authentication adds steps only when signals look risky.

3. Where attacks hit

A purchase passes three points. Each point faces different threats and controls.

flowchart LR
  C[Customer device] -->|Internet channel| M[Merchant server]
  M --> DB[(Order and customer DB)]
  M -->|Payment request| PG[Gateway or wallet]
  PG --> B[Bank or PSP]

Figure 2: Points of vulnerability across one transaction

Point Typical threats Typical controls
Client Malware, phishing, stolen passwords, shared phones Anti-malware, updates, 2FA, user education
Channel Eavesdropping, tampering, fake hotspots, man in the middle HTTPS/TLS with valid certificates
Server and DB Hacking, SQL injection, insider misuse, DDoS, data breach Patching, firewalls, least privilege, backups, DDoS mitigation

Technology from the next chapters maps directly to these points. Channel threats fall with TLS. Server threats fall with hardening and monitoring. Client threats fall with authentication and awareness.

4. Nepal environment

Four patterns shape Nepal by 2081 BS:

  • Cash on delivery stays common. Couriers carry cash, which exposes them to robbery and settlement delay. Buyers can refuse at the door, which shifts cost to sellers.
  • Payments move outside formal checkout. Small sellers take orders on Messenger and ask customers to send money to a personal QR or bank account. No order linkage, no buyer protection, weak records.
  • Awareness lags adoption. Wallet use grows faster than phishing literacy. OTP and PIN remain the main targets of SMS and voice scams.
  • Law exists, enforcement builds. Electronic Transactions Act 2063 (2008) recognises electronic records and digital signatures and defines computer crimes. Privacy Act 2075 (2018) limits collection and disclosure of personal data. Nepal Rastra Bank licenses PSPs and sets KYC and transaction limits. National Cyber Security Policy 2080 (2023) sets direction. The Cyber Bureau of Nepal Police investigates cyber crime. Cross border cases and e-commerce-specific consumer protection remain work in progress.

Worked Example: Apply six dimensions to a Lalitpur bag shop

The shop sells via its own site and accepts wallet payments. Kartik 2081 review:

Dimension Risk Practical control this month
Integrity Attacker replaces QR on payment page Use hosted wallet checkout, restrict CMS admin to two accounts
Nonrepudiation Buyer denies COD order Send SMS confirmation, keep signed delivery sheet
Authenticity Fake Facebook page copies the brand Verify page, publish official links on site, warn customers
Confidentiality Phone numbers leak Enforce HTTPS everywhere, 2FA on admin, no export without ticket
Privacy Staff reuse numbers for unrelated marketing Written privacy notice, data minimization, logged exports
Availability Site crashes during sale Reliable hosting, CDN, daily backups, uptime monitor

Cost stays low because controls reuse hosted checkout, existing DNS, and process rather than new hardware.

Self-Check For a wallet payment in Nepal, rank the six dimensions by importance to the customer and justify the top two in one sentence each. Then name the point of vulnerability most responsible for leaked phone numbers.

Self-check

Which security dimension concerns whether an order was altered in transit?

Try This A shop handles 600 orders per month. 55 percent are COD with 9 percent refusal cost of NPR 180 per refusal. 45 percent are prepaid wallet with 1.5 percent gateway fee on average order NPR 2,200. Calculate refusal cost, gateway fees, and total payment friction cost. Propose one control that cuts refusal without adding checkout steps.

Answer sketch There are 330 COD orders, with an expected 330 × 0.09 = 29.7 refusals costing NPR 5,346. The 270 wallet orders incur 270 × 2,200 × 0.015 = NPR 8,910 in gateway fees. Total expected friction cost is NPR 14,256. Accurate product descriptions and delivery estimates may reduce refusals without adding checkout steps.

Summary

Six dimensions define security: integrity, nonrepudiation, authenticity, confidentiality, privacy, and availability. Customers and merchants ask different questions about the same dimension. Security competes with ease of use, cost, and privacy, so controls should match transaction risk. Transactions expose client, channel, and server points. Nepal combines widespread COD, informal social commerce payments, rapid wallet adoption, and a maturing legal framework under ETA 2063, Privacy Act 2075, NRB licensing, and the 2080 cyber policy.

Key Takeaways

  • The six dimensions together cover alteration, denial, identity, secrecy, control of personal data, and uptime.
  • Strong security can hurt conversion; calibrate controls to value at risk.
  • Map threats to client, channel, or server to choose the right defence.
  • Hosted checkout, HTTPS, least privilege, and backups cover most SME risk affordably.
  • ETA 2063 and Privacy Act 2075 anchor Nepal law; NRB anchors payment rules.

Discussion

  1. A shop adds OTP to every login and sees login success fall 12 percent. Propose a risk based approach that keeps security for payments and reduces friction for browsing.
  2. A founder says privacy is the same as confidentiality. Refute with one example where data is confidential but privacy still fails.
  3. Why does informal payment to a personal QR undermine nonrepudiation for both buyer and seller?

Exercises

Short answer

  1. List the six security dimensions.
  2. Explain nonrepudiation with a COD example.
  3. Name the three points of vulnerability.
  4. State why availability matters most during Dashain.

Long answer

  1. Explain each dimension from both customer and merchant perspectives with a Nepali example for each.
  2. Discuss security versus ease of use and cost with two concrete trade-offs and how a small shop should decide.
  3. Describe Nepal security environment, its main risks, and the legal and regulatory base that addresses them.