5 Security In E Commerce

E-Commerce · Unit 5 · 7 hrs

Security in E-Commerce

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

Security in E-Commerce in short

Security threads through every part of an e-commerce system. This chapter sets out what security means in this context, the practical threats a site and its customers face, and the cryptographic and network mechanisms, from hashing to SSL/TLS, used to defend against them.

Security in E-Commerce: notes

E-commerce Security

E-commerce security matters because, on an e-commerce platform, products, services, cash and information are all reachable from anywhere on the internet, and stealing them remotely and near-anonymously carries far less risk for an attacker than an in-person crime such as robbing a bank. Attacks are frequently carried out by organized groups operating across borders, which makes them hard for any single business or government to counter alone, but a combination of technical controls and careful operating practice can protect a site, its customers' devices, and their personal information from the most routine attacks.

Dimensions of E-commerce Security: Confidentiality, Integrity, Availability, Authenticity, Nonrepudiation, Privacy

DimensionWhat it guarantees
IntegrityInformation displayed or transmitted online is correct and has not been altered by an unauthorized party
NonrepudiationA party who took an online action, posting a message or placing an order, cannot later deny having done so
AuthenticityThe identity of a person or organization dealt with online is genuine and not spoofed or misrepresented
ConfidentialityMessages and data are readable only by those authorized to view them
PrivacyA customer retains control over the personal information they give a merchant; the merchant must set internal policies governing its own use of that data and protect it from unauthorized use
AvailabilityThe e-commerce site continues to function as intended, without interruption, whenever a customer needs it

Security Threats in E-commerce: Vulnerabilities in E-commerce, Malicious Code, Adware, Spyware, Social Engineering, Phishing, Hacking, Credit card fraud and Identity theft, Spoofing and Pharming

From a technology standpoint, an e-commerce system has three points of vulnerability: the client (the customer's device and browser), the server (the merchant's infrastructure), and the communications pipeline (the network in between). The most common threats at these points, and the control that mitigates each, are:

What this unit covers

  • E-commerce Security
  • Dimensions of E-commerce Security: Confidentiality, Integrity, Availability, Authenticity, Nonrepudiation, Privacy
  • Security Threats in E-commerce: Vulnerabilities in E-commerce, Malicious Code, Adware, Spyware, Social Engineering, Phishing, Hacking, Credit card fraud and Identity theft, Spoofing and Pharming
  • Client and Server Security
  • Data Transaction Security
  • Security Mechanisms: Cryptography, Hash Functions, Digital Signatures, Authentication, Access Controls, Intrusion Detection System, Secured Socket Layer(SSL)

Security Mechanisms

2081 · 5 marks

How cryptography and hash functions are used in e-commerce to ensure security. [5]

E-commerce platforms handle sensitive data such as credit card numbers, personal information, and financial transactions. Cryptography and hash functions are two fundamental tools used to protect this data and ensure secure online transactions. --- Definition: Cryptography is the process of trans...

Open this answer on its own page →

2080 · 5 marks

What is an intrusion? How intrusion detection systems are used to ensure security in e-commerce? [5]

An intrusion is any unauthorized attempt to access, manipulate, or compromise a computer system, network, or data. An intruder (also called a hacker) is an individual who gains unauthorized access to a computer system by finding weaknesses in security procedures of websites and computer systems. ...

Open this answer on its own page →

2080 · 5 marks

What is social engineering? How access control mechanisms are used in e-commerce for authorization? [5]

Social engineering is the term used for a broad range of malicious activities accomplished through human interactions. It uses psychological manipulation to trick users into making security mistakes or giving away sensitive information, rather than exploiting technical vulnerabilities directly. T...

Open this answer on its own page →

2076 · 10 marks

What is cryptography? How cryptography can be used to ensure data and message transaction security in ecommerce?[10]

Cryptography is the science and art of transforming readable data (plaintext) into an unreadable format (ciphertext) using mathematical algorithms and keys, so that only authorized parties can read and understand the information. The word comes from the Greek words kryptos (hidden) and graphein (...

Open this answer on its own page →

Security Threats in E-commerce

2081 · 5 marks

What is adware? How is the SSL protocol used in e-commerce? [5]

Show solved answer

Adware and SSL Protocol in E-Commerce


Part 1: What is Adware? (2 marks)

Adware is unwanted software designed to throw advertisements on our web browsers. Some security professionals view it as a PUP (Potentially Unwanted Program).

Key Points:

  • Adware mostly comes with cracked and free illegal versions of software.
  • It operates without the user's full consent and disrupts normal browsing experience by displaying unwanted ads.

Prevention:

  • Think twice before downloading and installing any new software, especially freeware.
  • Avoid downloading software from unofficial or untrusted sources.

Part 2: How is SSL Protocol Used in E-Commerce? (3 marks)

SSL (Secure Sockets Layer) is a standard security protocol used in e-commerce to establish an encrypted link between a web server and a browser. This ensures that all data transmitted between them remains private and secure.

Role of SSL in E-Commerce:

FeatureDescription
EncryptionEncrypts sensitive data such as credit card numbers, passwords, and personal information during transmission
AuthenticationVerifies the identity of the website/server so customers know they are dealing with a legitimate merchant
Data IntegrityEnsures that data is not tampered with or altered during transfer

How SSL Works in E-Commerce Transactions:

  1. The customer visits an e-commerce website. The browser requests the server to identify itself.
  2. The server sends a copy of its SSL certificate to the browser.
  3. The browser checks whether the certificate is trusted. If trusted, it sends a message to the server.
  4. The server sends back a digitally signed acknowledgment to start an SSL encrypted session.
  5. All data exchanged between the browser and server (such as card details and order information) is now encrypted.

Significance in E-Commerce:

  • SSL protects the communications pipeline, which is one of the three key points of vulnerability in e-commerce (along with client and server).
  • It is used during transaction processing when customers pay online using credit/debit cards or mobile wallets, making the process secure and reliable.
  • Websites using SSL display HTTPS in the URL and a padlock icon, building customer trust.

Note: SSL works alongside protocols like SET (Secure Electronic Transaction) in e-commerce. While SSL secures the communication channel, SET provides additional security for card-based payment transactions involving cardholders, merchants, acquirers, issuers, and payment gateways.


In summary, adware is a browser-disrupting unwanted program, while SSL secures e-commerce by encrypting data, authenticating parties, and protecting the communication pipeline during online transactions.

Open this answer on its own page →

2079 · 5 marks

What is identity theft? How spoofing and pharming can impact e-commerce trades? [5]

Identity theft is a crime where someone wrongfully accesses and uses another person's personal information for economic gain. It occurs when someone manages to access personal information such as: - Bank account numbers - Home address - Birth date - Credit card details - Login credentials Once a ...

Open this answer on its own page →

2078 · 10 marks

What are the security threats in e-commerce? How client server and data transactions securities are maintained in e-commerce?[10]

Show solved answer

Security Threats in E-Commerce and Maintaining Client-Server & Data Transaction Security


Part 1: Security Threats in E-Commerce

E-commerce involves buying and selling over public networks, making it vulnerable to various security threats. The most common and damaging threats are described below:


1. Malicious Code (Malware)

Malicious code includes a variety of threats such as viruses, trojan horses, worms, and ransomware. It refers to any unwanted file or program that can cause harm to a computer or compromise data stored on it.

Prevention:

  • Installing and maintaining antivirus software
  • Using caution with links and attachments
  • Keeping software updated
  • Using accounts with limited permissions

2. Hacking

A hacker is an individual who intends to gain unauthorized access to a computer system. Hackers find weaknesses in the security procedures of websites and computer systems to gain such access.

Prevention:

  • Maximum security procedures must be implemented
  • Regular security audits of websites and systems

3. Credit Card Fraud and Identity Theft

  • Credit Card Fraud occurs when a thief gets hold of a victim's credit card information and misuses it, typically affecting one or more open credit card accounts.
  • Identity Theft is a crime where someone wrongfully accesses and uses another person's personal information (such as bank account numbers, address, birth date) for economic gain.

4. Spoofing and Pharming

  • Spoofing describes a criminal who mimics another individual or organization with the intent to gather personal or business information.
  • Pharming involves creating a malicious website that closely resembles a legitimate website, used to gather usernames and passwords from unsuspecting users.

5. Other Threats (from challenges perspective)

  • Data Security breaches during online transactions
  • Online Identity Verification Problems where people may enter wrong or false information
  • Trust issues between buyers and sellers

Part 2: Maintaining Client-Server and Data Transaction Security

From a technology perspective, there are three key points of vulnerability in e-commerce:

  1. The Client
  2. The Server
  3. The Communications Pipeline (Data Transaction)

A. Client and Server Security

i. Operating System Security Enhancement

The best way to protect both servers and clients is to take advantage of automatic security updates. Major operating systems such as Microsoft Windows, Apple macOS, and Linux are continuously updated to patch vulnerabilities.

  • These patches are automatic; users are prompted and informed when enhancements are available.
  • Security patches can be downloaded for free.
  • The most commonly known worms and viruses can be prevented by simply keeping server and client operating systems and applications up to date.

ii. Anti-Virus Software

  • Operating system features combined with anti-virus software help further protect servers and clients from certain types of attacks.
  • Regular scanning and real-time protection prevent malicious code from executing.

iii. Summary of Client-Server Security Measures

MeasurePurpose
Automatic OS updatesPatch known vulnerabilities
Anti-virus softwareDetect and remove malware
Limited user permissionsReduce attack surface
Regular security auditsIdentify and fix weaknesses

B. Data Transaction Security

Because e-commerce transactions must flow over the public Internet, they involve thousands of routers and servers through which transaction packets travel. Security experts believe the greatest security threats occur at the level of data transaction. This is very different from a private network where a dedicated communication line is established between two parties.

A number of tools are available to protect the security of Internet communications:

i. Message Encryption

The most basic tool for data transaction security is message encryption. Encryption converts readable data (plaintext) into an unreadable format (ciphertext) so that only authorized parties with the correct key can read it.

ii. Payment Gateway Security

A payment gateway is a service that authorizes and processes payments online for e-commerce websites. It:

  • Serves as a portal to facilitate transaction flow between customers and merchants
  • Uses security protocols and encryption to pass transaction data safely
  • Complies with financial regulations such as PCI DSS (Payment Card Industry Data Security Standard)

iii. Secure Communication Protocols

Standard secure protocols used in data transactions include:

  • SSL/TLS (Secure Sockets Layer / Transport Layer Security): Encrypts data between the client browser and the web server
  • HTTPS: HTTP over SSL/TLS, ensuring secure communication

iv. Summary of Data Transaction Security Measures

Tool/MethodFunction
Message EncryptionProtects data from interception
SSL/TLS ProtocolsSecures communication channel
Payment Gateway (PCI DSS)Authorizes and secures payment transactions
HTTPSEnsures encrypted web communication

Conclusion

E-commerce faces serious security threats including malware, hacking, identity theft, spoofing, and pharming. These threats are addressed at three levels: the client (OS updates, antivirus), the server (patches, security enhancements), and the data transaction pipeline (encryption, SSL/TLS, secure payment gateways). A combination of these measures ensures a reasonably secure e-commerce environment for both consumers and businesses.

Open this answer on its own page →

2078 · 5 marks

Define malicious code. How the potentially unwanted programs like adware and spyware work? [5]

Malicious code (Malware) includes a variety of threats such as viruses, trojan horses, worms, ransomware, and other harmful programs. It refers to any unwanted file or program that can cause harm to a computer or compromise data stored on a computer. Malicious code is one of the most common and d...

Open this answer on its own page →

Dimensions of E-commerce Security

2079 · 10 marks

Why it is essential to enforce security in e-commerce? Discuss the different dimensions of e-commerce security from consumer and merchant perspectives.[10]

The Internet and Web are increasingly vulnerable to large-scale attacks led by organized gangs of criminals operating globally. In e-commerce platforms, products, services, cash, and sensitive information are all available on the Internet, making it an attractive target for cybercriminals. It is ...

Open this answer on its own page →