Web Security and Protocols
Web Security and Protocols
Contents
• E-Commerce
• E-Commerce - Security Systems
• Measures to ensure Security
• Web Security and Protocols/Security Protocols in Internet
E-Commerce
• It involves more than one party along with the exchange of data or
currency to process a transaction.
• Security is an essential part of any transaction that takes place over the internet.
• Customers will lose his/her faith in e-business if its security is compromised.
• Following are the essential requirements for safe e-payments/transactions:
Confidentiality: Information should not be accessible to an unauthorized
person. It should not be intercepted during the transmission.
Integrity: Information should not be altered during its transmission over the
network.
E-Commerce - Security Systems
• Encryption: It is a very effective and practical way to safeguard the data being
transmitted over the network.
• We will discuss here some of the popular protocols used over the internet to
ensure secured online transactions:
• Secure Socket Layer (SSL)
• Transport Layer Security (TLS)
• Hypertext Transfer Protocol Secure (HTTPS)
• Hypertext Transfer Protocol (HTTP)
• Secure Electronic Transaction (SET)
• Internet Protocol Security (IPsec)
Secure Socket Layer (SSL)
• There have been several iterations of SSL, each more secure than
the last.
• In 1999 SSL was updated to become TLS.
• It meets following security requirements:
Authentication
Encryption
Integrity
Non-reputability
How does SSL work?
• SSL also digitally signs data in order to provide data integrity, verifying that
the data is not tampered with before reaching its intended recipient.
Why SSL Important
• The consumer's credit card number is now safe, only visible to the
shopping website where they entered it.
• A user's device views the public key and uses it to establish secure encryption
keys with the web server.
• Meanwhile the web server also has a private key that is kept secret; the private
key decrypts data encrypted with the public key.
• There are several different types of SSL certificates. One certificate can
apply to a single website or several websites, depending on the type:
• Single-domain: A single-domain SSL certificate applies to only one
domain (a "domain" is the name of a website, like www.cloudflare.com).
• Wildcard: Like a single-domain certificate, a wildcard SSL certificate
applies to only one domain. However, it also includes that domain's
subdomains. For example, a wildcard certificate could cover
www.cloudflare.com, blog.cloudflare.com, and developers.cloudflare.com,
while a single-domain certificate could only cover the first.
• Multi-domain: As the name indicates, multi-domain SSL certificates can
apply to multiple unrelated domains.
Types of SSL Certificate
• The most recent version is TLS 1.3, which was published in 2018.
Authentication: ensures that the parties exchanging information are who they
claim to be.
Integrity: verifies that the data has not been forged or tampered with.
How does TLS work?
• When a user navigates to a website that uses TLS, the TLS handshake begins
between the user's device (also known as the client device) and the web server.
• During the TLS handshake, the user's device and the web server:
Specify which version of TLS (TLS 1.0, 1.2, 1.3, etc.) they will use
Authenticate the identity of the server using the server's TLS certificate
Generate session keys for encrypting messages between them after the handshake is
complete
How does TLS work?
• The TLS handshake establishes a cipher suite for each communication session.
• The cipher suite is a set of algorithms that specifies details such as which
shared encryption keys, or session keys, will be used for that particular session.
• TLS is able to set the matching session keys over an unencrypted channel
thanks to a technology known as public key cryptography.
• TLS encryption can help protect web applications from data breaches and other
attacks.
• Everyday Internet users are more wary of websites that do not feature the
HTTPS padlock icon.
Benefits of TLS