3 E Commerce Security Fundamentals

E-Commerce · Unit 3

E-Commerce Security Fundamentals

Exam-focused notes for E-Commerce Security Fundamentals (E-Commerce, BIT403): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

E-Commerce Security Fundamentals in short

Online shopping works only when people trust it. The main security needs are confidentiality, integrity and availability. Threats break them, and security tools protect a site and its customers.

E-Commerce Security Fundamentals: notes

Confidentiality in e-commerce transactions

Confidentiality means that information is seen only by people who are allowed to see it. Card numbers, passwords, addresses and order details must stay private.

How it is protected:

  • Encryption turns readable data (plain text) into unreadable data (cipher text). Only the holder of the key can read it.
  • HTTPS (HTTP over TLS) encrypts data between the browser and the server.
  • Access control gives each user only the rights needed.

Example: when you enter a card number on a payment page, TLS stops someone on the same Wi-Fi from reading it.

Integrity and data protection

Integrity means data is not changed, added or deleted by an unauthorized party while stored or sent. If a customer orders 2 items, the seller must receive 2, not 20.

Methods:

  • Hash functions such as SHA-256 create a short fixed-size value from data. If the data changes, the hash changes.
  • Digital signatures and message authentication codes prove the message was not altered.
  • Backups, logs and strict write permissions protect stored data.

What this unit covers

  • Confidentiality in e-commerce transactions
  • Integrity and data protection
  • Availability and system reliability
  • Non-repudiation and accountability
  • Security threats in e-commerce
  • Security mechanisms for e-commerce systems

Non-repudiation and accountability

2082 · 10 marks

What is importance of non-repudiation in e-commerce security? How it can be enforced? Explain the security mechanisms used to secure an e-commerce system.[10]

Show solved answer

Model Answer: Non-Repudiation in E-Commerce Security

Importance of Non-Repudiation in E-Commerce

Non-repudiation is a critical security requirement in e-commerce that ensures neither party can deny their involvement in a transaction. Its importance includes:

  1. Legal Accountability: Provides legal proof that a transaction occurred, protecting both buyer and seller from false denial of involvement.

  2. Dispute Resolution: Enables resolution of disputes by providing irrefutable evidence of who initiated or completed a transaction.

  3. Trust Building: Establishes confidence in electronic transactions by guaranteeing that parties cannot later claim they did not participate.

  4. Fraud Prevention: Prevents customers from denying purchases and sellers from denying delivery or service provision.

  5. Regulatory Compliance: Meets legal requirements for electronic commerce in many jurisdictions.


How Non-Repudiation Can Be Enforced

Non-repudiation is enforced through Digital Signatures:

Digital Signature Process:

At Sender's End:

  • Message is hashed using a hash function (e.g., SHA-256)
  • Hash is encrypted using sender's private key
  • Encrypted hash (digital signature) + original message is sent

At Receiver's End:

  • Receiver decrypts signature using sender's public key to get original hash
  • Receiver independently hashes the received message
  • If both hashes match: authenticity and non-repudiation are confirmed
  • Sender cannot deny sending (only they have private key)

Mathematical Basis:

Signature = E(Private_Key, Hash(Message))
Verification = D(Public_Key, Signature) == Hash(Message)

Security Mechanisms for E-Commerce Systems

1. Encryption

  • Symmetric Encryption: DES, AES for fast data encryption
  • Asymmetric Encryption: RSA for secure key exchange
  • Protects confidentiality of sensitive data (payment details, personal information)

2. Authentication

  • Username/Password: Basic user identification
  • Digital Certificates: X.509 certificates verify identity of parties
  • Multi-factor Authentication: Combines passwords with OTP or biometrics
  • Ensures only authorized users access the system

3. Digital Signatures

  • Provides authentication, integrity, and non-repudiation
  • Uses public key cryptography
  • Proves message origin and that it hasn't been altered

4. Secure Sockets Layer (SSL) / Transport Layer Security (TLS)

  • Encrypts data in transit between client and server
  • Establishes secure channel for communication
  • Prevents eavesdropping and man-in-the-middle attacks

5. Firewalls

  • Controls incoming and outgoing network traffic
  • Blocks unauthorized access attempts
  • Monitors suspicious activities

6. Intrusion Detection Systems (IDS)

  • Monitors network for malicious activities
  • Detects unauthorized access attempts
  • Alerts administrators of security breaches

7. Access Control

  • Role-based access control (RBAC)
  • Ensures users access only authorized resources
  • Principle of least privilege

8. Data Integrity Mechanisms

  • Hash functions (MD5, SHA-1, SHA-256)
  • Message Authentication Codes (MAC)
  • Detects unauthorized modification of data

9. Secure Payment Gateways

  • PCI-DSS compliance for payment card data
  • Tokenization of sensitive payment information
  • Secure processing of financial transactions

10. Audit Logs and Monitoring

  • Records all transactions and access attempts
  • Enables forensic analysis
  • Helps identify security incidents

Conclusion

Non-repudiation through digital signatures combined with comprehensive security mechanisms (encryption, authentication, SSL/TLS, firewalls, and access controls) creates a robust e-commerce security framework that protects all parties involved and ensures transaction integrity and accountability.

Open this answer on its own page →

Integrity and data protection

2080 · 5 marks

Describe integrity, nonrepudiation and confidentiality in E-commerce security. [5]

Integrity ensures that data transmitted in e-commerce transactions remains accurate, complete, and unaltered during transmission and storage. - Data should not be modified, deleted, or corrupted by unauthorized parties - Achieved through cryptographic hash functions and digital signatures - If da...

Open this answer on its own page →

Security threats in e-commerce

2080 · 5 marks

Discuss the security threats in E-commerce. [5]

E-commerce security threats are risks that compromise the confidentiality, integrity, and availability of online transactions and customer data. The major threats include: - Attackers gain illegal access to customer accounts, databases, or systems - Results from weak passwords, credential theft, ...

Open this answer on its own page →

Confidentiality in e-commerce transactions

0 · 5 marks

Describe confidentiality, integrity and availability in e-commerce security. [5]

Confidentiality, Integrity, and Availability (CIA) form the fundamental triad of information security objectives in e-commerce systems. These three principles ensure secure, reliable online transactions. --- Definition: Confidentiality ensures that sensitive information is accessible only to auth...

Open this answer on its own page →