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.
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]
2080 · 5 marks
What is an intrusion? How intrusion detection systems are used to ensure security in e-commerce? [5]
2080 · 5 marks
What is social engineering? How access control mechanisms are used in e-commerce for authorization? [5]
2076 · 10 marks
What is cryptography? How cryptography can be used to ensure data and message transaction security in ecommerce?[10]
Security Threats in E-commerce
2081 · 5 marks
What is adware? How is the SSL protocol used in e-commerce? [5]
Show solved answerHide 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:
| Feature | Description |
|---|---|
| Encryption | Encrypts sensitive data such as credit card numbers, passwords, and personal information during transmission |
| Authentication | Verifies the identity of the website/server so customers know they are dealing with a legitimate merchant |
| Data Integrity | Ensures that data is not tampered with or altered during transfer |
How SSL Works in E-Commerce Transactions:
- The customer visits an e-commerce website. The browser requests the server to identify itself.
- The server sends a copy of its SSL certificate to the browser.
- The browser checks whether the certificate is trusted. If trusted, it sends a message to the server.
- The server sends back a digitally signed acknowledgment to start an SSL encrypted session.
- 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.
2079 · 5 marks
What is identity theft? How spoofing and pharming can impact e-commerce trades? [5]
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 answerHide 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:
- The Client
- The Server
- 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
| Measure | Purpose |
|---|---|
| Automatic OS updates | Patch known vulnerabilities |
| Anti-virus software | Detect and remove malware |
| Limited user permissions | Reduce attack surface |
| Regular security audits | Identify 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/Method | Function |
|---|---|
| Message Encryption | Protects data from interception |
| SSL/TLS Protocols | Secures communication channel |
| Payment Gateway (PCI DSS) | Authorizes and secures payment transactions |
| HTTPS | Ensures 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.
2078 · 5 marks
Define malicious code. How the potentially unwanted programs like adware and spyware work? [5]
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]
Make Unit 5 stick
Practice CSC381 with flashcards & quizzes