Unit 4.4
Management Policies for E-commerce Security
IT 204: E-Commerce
Today's Objectives 🎯
By the end of this chapter, you will be able to:
- ✅ Understand that technology alone is not enough to ensure security.
- ✅ Describe the purpose of a risk assessment.
- ✅ Explain the importance of a written security policy.
Beyond Technology: The Human Element
Technology provides the tools for security (firewalls, encryption, etc.).
But management policies provide the strategy and the rules for people to follow.
Effective E-commerce Security = Technology + Management Policies
🎬 Equifax: Senators’ Criticism
The Three Pillars of Security Management
1. Risk Assessment
Identify & Prioritize Threats
2. Security Policy
Define Rules & Responsibilities
3. Auditing
Verify & Improve Compliance
These three pillars form a continuous cycle of security improvement.
Pillar 1: Risk Assessment 📊
Definition: The process of identifying, analyzing, and evaluating security risks to your organization's assets.
- Goal: Determine the likelihood and potential impact of different threats.
- Outcome: Allows you to prioritize security spending and resources effectively.
- It answers the question: "What should we be most worried about?"
The Risk Assessment Process
- Identify Assets: What are we protecting? (e.g., customer data, payment systems, brand reputation)
- Identify Threats: What can go wrong? (e.g., hacking, malware, employee error, natural disasters)
- Analyze Risks: How likely is it, and how bad would it be? (Likelihood x Impact = Risk Level)
- Prioritize: Focus on high-likelihood, high-impact risks first.
Worked Example: Prioritize a Security Control
Illustrative annual estimate for a small online shop: a relevant account-compromise incident has a 20% chance of occurring, with Rs 500,000 expected loss if it occurs.
- Simplified expected annual loss: 0.20 × Rs 500,000 = Rs 100,000.
- A Rs 30,000/year control is estimated to reduce probability to 5%, with the same loss per incident.
- Residual expected loss: 0.05 × Rs 500,000 = Rs 25,000.
What is the estimated annual benefit after paying for the control? What assumptions could change the decision?
Rs 100,000 − Rs 25,000 − Rs 30,000 = Rs 45,000. Estimates are uncertain; legal duties and severe tail risks still matter. An ordinal risk score is not a monetary loss estimate.
An Illustrative Risk Register
Pillar 2: The Security Policy 📜
Definition: A formal, written document that outlines the rules and procedures that must be followed to protect an organization's assets.
It defines who is responsible for security and what actions to take during a security breach.
If it's not written down, it's not a policy—it's just a suggestion.
What's Inside a Security Policy?
Core Components
- Acceptable Use Policy (AUP)
- Password Complexity & Expiration
- Data Handling & Classification
- Incident Response Plan
- Remote Access Rules
Key Questions Answered
- Who can access what data?
- How should sensitive data be stored?
- What happens if a laptop is stolen?
- What are the consequences for violations?
Policy, Procedure and Access Lifecycle
Policy: the rule
“Production customer-data access requires an approved business need, named accounts and least privilege.”
Procedure: the steps
Manager requests a role → data owner approves → administrator grants scoped access → reviewer checks the evidence.
- Joiner: grant only the access needed for the role.
- Mover/leaver: review changed duties; promptly revoke unnecessary access and sessions.
- Separation of duties: the same person should not request, approve and audit their own privileged access.
A policy states what and why; a procedure explains how and who. Records show whether either was followed.
Joiner–Mover–Leaver
Tabletop: A Customer Database Leak
Illustrative scenario: support receives a sample of customer addresses apparently exported from your shop. In pairs, choose the first actions and assign an owner. Is “delete the logs and restart” a safe response?
- Report and assess: incident lead records what is known and preserves relevant evidence.
- Contain safely: restrict compromised access and involve operations; avoid destroying investigation evidence.
- Investigate and communicate: security, management and legal/privacy roles assess scope and applicable notice duties.
- Recover and learn: fix the cause, validate recovery and track corrective actions.
No to deleting logs. A plan needs decision authority, escalation contacts, evidence handling and exercises—not just a list of tools.
Incident Response Timeline
Pillar 3: Security Auditing 🔍
Definition: A systematic evaluation of an organization's security policies and procedures to ensure they are being followed and are effective.
- An audit is a "health check" for your security program.
- It verifies that the written policy matches real-world practices.
- Identifies gaps, non-compliance, and areas for improvement.
Audit Evidence and Closing the Loop
The policy says departed staff lose production access promptly. An auditor finds an active account belonging to a former employee. What evidence would establish a finding and prove it is fixed?
Evidence
Approved policy, departure record, account permissions, session state and relevant access logs. Minimize unnecessary personal-data exposure.
Corrective action
Named owner, agreed deadline, revoke access/sessions, fix the offboarding workflow and independently retest.
“We sent an email” is not closure. Compare the requirement with observed evidence, then verify remediation. Compliance at one point in time is not a guarantee of future security.
Close the Audit Loop
🎬 Watch: Rehearsing an Incident
Review Policies against Current Guidance
NIST's digital-authentication guidance discourages routine password changes without evidence of compromise and arbitrary character-composition rules. This is guidance with a defined scope, not a universal Nepal law.
- Favor sufficient length, blocked common/compromised passwords, rate limiting and secure password storage.
- Use MFA appropriate to risk; phishing-resistant methods strengthen protection against impersonation.
- Change credentials when compromise is suspected or established, and follow applicable sector/contractual obligations.
Does “changed every 90 days” alone prove an account is secure?
No. Audit against the applicable requirement, and separately evaluate whether that requirement is effective and current.
Practical Application: E-commerce in Nepal 🇳🇵
Scenario: A Nepali Online Marketplace
- Risk Assessment: Might identify fraud on digital wallets (eSewa, Khalti) and DDoS attacks during Dashain sales as high-priority risks.
- Security Policy: Must include a clear policy on handling customer PII (Personal Identifiable Information) to comply with Nepal's privacy laws, like the Privacy Act, 2018.
- Audit: An auditor would check if developer access to the live customer database is properly restricted and if two-factor authentication is enforced for all administrative accounts.
Public Laws & Payment Rules in Nepal ⚖️
What the law requires
- Electronic Transactions Act 2063 (2008): electronic records and digital signatures have legal effect; unauthorised access and data damage are offences.
- Privacy Act 2075 (2018): collect personal data only for a lawful purpose, minimise it, control access and log exports.
- Payment and Settlement Act 2075 (2019): wallets, QR rails, gateways and connectIPS run under NRB licensing with KYC and transaction limits — use licensed PSPs, never informal personal accounts.
PCI-DSS as a management choice
- SAQ-A vs storing cards: hosted payment page + tokenization keeps card data off your server → short self-assessment SAQ-A. Storing cards yourself → full audit burden.
- Never store CVV or full magnetic-stripe data; restrict and log access to cardholder data.
- Choosing SAQ-A is a budget and liability decision, not just a technical control.
Incident Response: Six Questions + Call Tree 🚨
A plan answers six questions before the crisis:
- Detect: alerts, customer complaints, bank chargebacks — who watches each source?
- Decide: who has authority to declare an incident?
- Take offline: when do we pause checkout or isolate a system?
- Preserve: keep logs and evidence intact — never delete logs to "clean up".
- Notify: call tree → management, tech, support, the PSP, and the Cyber Bureau where required; customers per privacy duties.
- Return: validate the fix, rotate keys, resume service, run the after-action review.
Immediate money moves: freeze payouts to suspect accounts and rotate exposed keys/credentials — then investigate, not the reverse.
Business Procedures That Stop Fraud 🧾
Weak procedures create fraud even when the site is patched:
- Refunds — maker-checker: one person issues, a second approves; the same person must never do both. Sample-check refund logs monthly.
- Discount codes: issuance needs written approval, limited validity and usage caps — leaked staff codes are revenue loss.
- KYC: verify wallet/bank top-ups and high-value buyers per PSP and NRB rules before releasing goods.
- COD reconciliation: match courier cash slips against delivered orders daily; dual control on cash handling and settlement.
Policy states the rule ("refunds need dual control"); the procedure lists the steps and the evidence (request ticket + approval record + log).
Summary & Key Takeaways ⚡
- Holistic Security: Security requires both robust technology and clear management policies.
- Risk-Informed Strategy: A risk assessment is the foundation that guides your security efforts and spending.
- Policy is Paramount: A written security policy is essential for communicating rules, defining responsibilities, and ensuring consistency.
- Continuous Improvement: Regular audits ensure policies are effective and followed, creating a cycle of security improvement.
- Law & Scope: ETA 2063, Privacy Act 2018 and the Payment and Settlement Act 2075 set boundaries; SAQ-A via hosted checkout keeps card scope small.
Let's Discuss
Status update (6 Nov 2026): Sastodeal is DOWN per Arjan; discuss Daraz as the live example, not current Sastodeal operations.
Discussion Questions
- Why is a *written* security policy so much more effective than an unwritten one?
- Who should be involved in creating a company's security policy? (Hint: It's not just the IT department).
- What are some specific things a security audit might look for at an e-commerce company like Daraz?