SlideShare a Scribd company logo
1 of 21
HTTP
 VS
HTTPS
FLOW :
 What is Internet.
 OSI Model & TCP/IP Model.
 HTTP Protocol.
 HTTPS Protocol.
 Conclusion.
INTERNET
 Want to meet new people, do exciting
  things, shop at convenience, explore new world?
  Want to stay at home too? You can do
  simultaneously , when you go online.

 The Internet is a global system of interconnected
  computer networks

 WWW, email, social networking, file
  transfer, online
  chat, commerce, teleconferencing, VoIP, video
  on demand etc.

 Internet is tangible network of computers
  sharing/exchanging information with the help of
  PROTOCOLS.
Internet Protocols
 Protocol is a form of etiquette. Prescribed guide for conduct or action

 Computers have to know in advance exactly how information is to be
  exchanged and precisely what the format will be

 Internet Protocols are the standards ,designed to specify how computers
  interact and exchange messages over internet.

 Protocols usually specifies:
                 The format of the messages.
                 How to handle errors.


 To simplify the design and implementation of protocols, designers have
  decided to design a set of protocols, each has different responsibilities
  instead of one protocol responsible for all forms of communication.
OSI MODEL
                    Layer          Function
                    Application    Provides services directly to an
                                   application program
                    Presentation   Presentation of information to
                                   user in a format that the user
                                   will understand
                    Session        Controls the user to user
Lower Layer                        dialogue – its direction and
connects one node                  synchronization
to another          Transport      Raises the quality of service
                                   provided by the network to the
                                   level required by user

                    Layer          Function
                    Network        Choosing the next node in the
                                   network & the link to it.
                                   packages output with the
                                   correct network address
                                   information.
                    Data Link      Controls the flow of messages
                                   on the chosen link
                    Physical       Connecting to the physical
                                   medium that provides the link
TCP/IP Model
 This model is a condensed version
  of the OSI model and only has
  four layers.

 TCP/IP Protocols are considered to
  be standards around which the
  internet has been developed. The
  OSI model however is a
  "generic, protocol- independent
  standard.”
HTTP
 HTTP stands for Hypertext
  Transfer Protocol.
 HTTP provides a set of rules and
  standards that govern how
  information is transmitted on
  the World Wide Web.
 Computers on the World Wide
  Web use the HyperText Transfer
  Protocol to talk with each other
 http://www.google.co.in


 The first part of an address
  (URL) of a site on the
  Internet, signifying a document
  written in Hypertext Markup
  Language (HTML).
 HTTP is a client-server protocol by which two machines communicate using a
    reliable, connection-oriented transport service such as the TCP.

           A browser is an HTTP client because it sends requests to an HTTP server (Web server), which
            then sends responses back to the client

           An HTTP server is a program that sits listening on a machine's port for HTTP requests.

           The standard (and default) port for HTTP servers to listen on is 80, though they can use any
            port.

 HTTP can be "implemented on top of any other protocol on the Internet, or on
    other networks.“

   HTTP only presumes a reliable transport; any protocol that provides such
    guarantees can be used.” e.g.TCP.
 HTTP is stateless. The lifetime of a connection corresponds to a single
  request-response sequence

         An HTTP client opens a tcp/ip connection to the server via a
          socket, transmits a request for a document, then waits for a reply from the
          server. Once the request-response sequence is completed, the socket is
          closed.

         There is no "memory" between client connections.

         The pure HTTP server implementation treats every request as if it was
          brand-new.

         Http pages are stored on your computer and internet caches. The pages load
          faster, but they are stored on systems that you potentially don't have control
          over.eg: ISP's caching proxy
How HTTP Works
 HTTP Server is implemented by Apache HTTP Server · Microsoft IIS ·
  Jigsaw · Zope etc.
 Each client-server transaction, whether a request or a
  response, consists of three main parts
    A response or request line
    Header information
    The body
Advantages of HTTP
 Platform independent- Allows Straight cross platform porting.


 No Runtime support required to run properly.


 Usable over Firewalls! Global applications possible.


 Not Connection Oriented- No network overhead to create and
  maintain session state and information.
HTTP Limitations

Security Concerns
    Privacy
            Anyone can see content

    Integrity
            Someone might alter content. HTTP is insecure since no encryption methods are used.
             Hence is subject to man in the middle and eavesdropping of sensitive information.

    Authentication
            Not clear who you are talking with. Authentication is sent in the clear — Anyone who
             intercepts the request can determine the username and password being used.



 Stateless - Need State management techniques to maintain the
  information across multiple request-response cycles.
HTTPS
 HTTPS stands for Hypertext
  Transfer Protocol over Secure
  Socket Layer, or HTTP over SSL.

 SSL acts like a sub layer under
  regular HTTP application
  layering.

 HTTPS encrypts an HTTP
  message prior to transmission
  and decrypts a message upon
  arrival.
 HTTPS by default uses port 443 as opposed to the standard HTTP port
  of 80.

 URL's beginning with HTTPS indicate that the connection between
  client and browser is encrypted using SSL
  e.g.: https://login.yahoo.com/config/login_verify2?&.src=ym

 SSL transactions are negotiated by means of a key based encryption
  algorithm between the client and the server, this key is usually either
  40 or 128 bits in strength (the higher the number of bits the more
  secure the transaction).
 Need SSL if…
         you have an online store or accept online orders and credit cards
         you offer a login or sign in on your site
         you process sensitive data such as address, birth date, license, or ID numbers
         you need to comply with privacy and security requirements

  Certification Authority (CA) is an entity that issues digital certificates for use
  by other parties. It is an example of a trusted third party.
   e.g. VeriSign, Thwate, Geotrust etc

 Ability to connect to server via HTTP secure consists of:
          Generating key
          Generating certificate signing request
          Generating self signed certificate
          Certificate Authority signed certificate
          Configuring web server.
SSL Diagram
   When any modern browser is installed, it is sent with
    several CA issuer certificates. These issuer certificates
    contain a public key for the issuer, among other
    information.

   When a web designer decides to use SSL he needs to
    purchase a certificate that is signed using the CA's
    private key.

   The web browser starts a connection to an HTTPS site.
    Along with this request the client sends all supported
    encryption schemes.

   As a response to the browser's connection request, the
    Server sends a copy of the certificate from step 2. Along
    with this transmission is the server's answer to the
    encryption negotiation.

   Once a certificate is downloaded, the signature of the
    certificate (that was signed using the CA's private key) is
    checked using the CA's public key (installed in the
    browser in step 1.

   The connection succeeds, the client can now download
    and upload to the web site with the security of
    encryption.
SSL Handshake
 A HTTP-based SSL connection is always initiated by the client using a
  URL starting with https:// instead of with http://.
 At the beginning of an SSL session, an SSL handshake is performed
 This handshake produces the cryptographic parameters of the session.
 Simplified Overview:
How SSL Overcomes HTTP Security Concerns

 Secure Sockets Layer technology protects your Web site and makes it
  easy for your Web site visitors to trust you in three essential ways:

    Privacy
      An SSL Certificate enables encryption of sensitive information during online
        transactions.


    Integrity.
      A Certificate Authority verifies the identity of the certificate owner when it is issued.



    Authentication.
      Each SSL Certificate contains unique, authenticated information about the certificate
       owner.
Limitations of HTTPS
 An HTTPS server can only provide one "virtual host" behind a single socket, as
  opposed to multiple ones behind an http socket.
    This is because all security negotiation takes place before the HTTP protocol starts &
       hence before the server knows which URL the client is asking for.


 HTTPS cannot prevent stealing confidential information from the pages
  cached on the browser.
       Since in SSL data is encrypted only during transmission on the network, it is in clear
       text in the browser memory


 HTTPS is slightly slower than HTTP.
    HTTPS adds computational overhead as well as network overhead.
Conclusion
 The HTTP network protocol is fundamental to the way the World Wide
  Web works, and the encryption involved in HTTPS adds an essential
  layer if confidential information or sensitive data are to be exchanged
  over the public internet.

 Hence, If a website ever asks you to enter your credit card
  information, you should automatically look to see if the web address
  begins with https://. If it doesn't, there's no way you're going to enter
  sensitive information like a credit card number! 
Thank You

More Related Content

What's hot (20)

Ports and protocols
Ports and protocolsPorts and protocols
Ports and protocols
 
Secure shell ppt
Secure shell pptSecure shell ppt
Secure shell ppt
 
CRYPTOGRAPHY AND NETWORK SECURITY- Transport-level Security
CRYPTOGRAPHY AND NETWORK SECURITY- Transport-level SecurityCRYPTOGRAPHY AND NETWORK SECURITY- Transport-level Security
CRYPTOGRAPHY AND NETWORK SECURITY- Transport-level Security
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Osi model
Osi modelOsi model
Osi model
 
User datagram protocol (udp)
User datagram protocol (udp)User datagram protocol (udp)
User datagram protocol (udp)
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
Public key Infrastructure (PKI)
Public key Infrastructure (PKI)Public key Infrastructure (PKI)
Public key Infrastructure (PKI)
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 
IP Security
IP SecurityIP Security
IP Security
 
Https
HttpsHttps
Https
 
Virtual Private Network(VPN)
Virtual Private Network(VPN)Virtual Private Network(VPN)
Virtual Private Network(VPN)
 
Transport layer
Transport layer Transport layer
Transport layer
 
Firewall ppt
Firewall pptFirewall ppt
Firewall ppt
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Hash Function
Hash FunctionHash Function
Hash Function
 
Wireless security presentation
Wireless security presentationWireless security presentation
Wireless security presentation
 
HTTP vs HTTPS Difference
HTTP vs HTTPS Difference HTTP vs HTTPS Difference
HTTP vs HTTPS Difference
 
HTTP & HTTPS
HTTP & HTTPSHTTP & HTTPS
HTTP & HTTPS
 

Similar to Http Vs Https .

Similar to Http Vs Https . (20)

Ssl https
Ssl httpsSsl https
Ssl https
 
Explain how SSL protocol is used to ensure the confidentiality and int.docx
Explain how SSL protocol is used to ensure the confidentiality and int.docxExplain how SSL protocol is used to ensure the confidentiality and int.docx
Explain how SSL protocol is used to ensure the confidentiality and int.docx
 
internet protocol
internet protocolinternet protocol
internet protocol
 
application layer
application layerapplication layer
application layer
 
CN UNIT V.pptx
CN UNIT V.pptxCN UNIT V.pptx
CN UNIT V.pptx
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptx
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
 
Assignment - 01
Assignment - 01Assignment - 01
Assignment - 01
 
1 web technologies
1 web technologies1 web technologies
1 web technologies
 
Tcp and udp ports
Tcp and udp portsTcp and udp ports
Tcp and udp ports
 
BAIT1103 Chapter 4
BAIT1103 Chapter 4BAIT1103 Chapter 4
BAIT1103 Chapter 4
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
 
Https
HttpsHttps
Https
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
App layer
App layerApp layer
App layer
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network
 
Final ppt ecommerce
Final ppt ecommerceFinal ppt ecommerce
Final ppt ecommerce
 
Api 101
Api 101Api 101
Api 101
 
Ports and services
Ports and servicesPorts and services
Ports and services
 

Recently uploaded

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Http Vs Https .

  • 2. FLOW :  What is Internet.  OSI Model & TCP/IP Model.  HTTP Protocol.  HTTPS Protocol.  Conclusion.
  • 3. INTERNET  Want to meet new people, do exciting things, shop at convenience, explore new world? Want to stay at home too? You can do simultaneously , when you go online.  The Internet is a global system of interconnected computer networks  WWW, email, social networking, file transfer, online chat, commerce, teleconferencing, VoIP, video on demand etc.  Internet is tangible network of computers sharing/exchanging information with the help of PROTOCOLS.
  • 4. Internet Protocols  Protocol is a form of etiquette. Prescribed guide for conduct or action  Computers have to know in advance exactly how information is to be exchanged and precisely what the format will be  Internet Protocols are the standards ,designed to specify how computers interact and exchange messages over internet.  Protocols usually specifies:  The format of the messages.  How to handle errors.  To simplify the design and implementation of protocols, designers have decided to design a set of protocols, each has different responsibilities instead of one protocol responsible for all forms of communication.
  • 5. OSI MODEL Layer Function Application Provides services directly to an application program Presentation Presentation of information to user in a format that the user will understand Session Controls the user to user Lower Layer dialogue – its direction and connects one node synchronization to another Transport Raises the quality of service provided by the network to the level required by user Layer Function Network Choosing the next node in the network & the link to it. packages output with the correct network address information. Data Link Controls the flow of messages on the chosen link Physical Connecting to the physical medium that provides the link
  • 6. TCP/IP Model  This model is a condensed version of the OSI model and only has four layers.  TCP/IP Protocols are considered to be standards around which the internet has been developed. The OSI model however is a "generic, protocol- independent standard.”
  • 7. HTTP  HTTP stands for Hypertext Transfer Protocol.  HTTP provides a set of rules and standards that govern how information is transmitted on the World Wide Web.  Computers on the World Wide Web use the HyperText Transfer Protocol to talk with each other  http://www.google.co.in  The first part of an address (URL) of a site on the Internet, signifying a document written in Hypertext Markup Language (HTML).
  • 8.  HTTP is a client-server protocol by which two machines communicate using a reliable, connection-oriented transport service such as the TCP.  A browser is an HTTP client because it sends requests to an HTTP server (Web server), which then sends responses back to the client  An HTTP server is a program that sits listening on a machine's port for HTTP requests.  The standard (and default) port for HTTP servers to listen on is 80, though they can use any port.  HTTP can be "implemented on top of any other protocol on the Internet, or on other networks.“  HTTP only presumes a reliable transport; any protocol that provides such guarantees can be used.” e.g.TCP.
  • 9.  HTTP is stateless. The lifetime of a connection corresponds to a single request-response sequence  An HTTP client opens a tcp/ip connection to the server via a socket, transmits a request for a document, then waits for a reply from the server. Once the request-response sequence is completed, the socket is closed.  There is no "memory" between client connections.  The pure HTTP server implementation treats every request as if it was brand-new.  Http pages are stored on your computer and internet caches. The pages load faster, but they are stored on systems that you potentially don't have control over.eg: ISP's caching proxy
  • 10. How HTTP Works  HTTP Server is implemented by Apache HTTP Server · Microsoft IIS · Jigsaw · Zope etc.  Each client-server transaction, whether a request or a response, consists of three main parts  A response or request line  Header information  The body
  • 11. Advantages of HTTP  Platform independent- Allows Straight cross platform porting.  No Runtime support required to run properly.  Usable over Firewalls! Global applications possible.  Not Connection Oriented- No network overhead to create and maintain session state and information.
  • 12. HTTP Limitations Security Concerns  Privacy  Anyone can see content  Integrity  Someone might alter content. HTTP is insecure since no encryption methods are used. Hence is subject to man in the middle and eavesdropping of sensitive information.  Authentication  Not clear who you are talking with. Authentication is sent in the clear — Anyone who intercepts the request can determine the username and password being used.  Stateless - Need State management techniques to maintain the information across multiple request-response cycles.
  • 13. HTTPS  HTTPS stands for Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL.  SSL acts like a sub layer under regular HTTP application layering.  HTTPS encrypts an HTTP message prior to transmission and decrypts a message upon arrival.
  • 14.  HTTPS by default uses port 443 as opposed to the standard HTTP port of 80.  URL's beginning with HTTPS indicate that the connection between client and browser is encrypted using SSL e.g.: https://login.yahoo.com/config/login_verify2?&.src=ym  SSL transactions are negotiated by means of a key based encryption algorithm between the client and the server, this key is usually either 40 or 128 bits in strength (the higher the number of bits the more secure the transaction).
  • 15.  Need SSL if…  you have an online store or accept online orders and credit cards  you offer a login or sign in on your site  you process sensitive data such as address, birth date, license, or ID numbers  you need to comply with privacy and security requirements Certification Authority (CA) is an entity that issues digital certificates for use by other parties. It is an example of a trusted third party. e.g. VeriSign, Thwate, Geotrust etc  Ability to connect to server via HTTP secure consists of:  Generating key  Generating certificate signing request  Generating self signed certificate  Certificate Authority signed certificate  Configuring web server.
  • 16. SSL Diagram  When any modern browser is installed, it is sent with several CA issuer certificates. These issuer certificates contain a public key for the issuer, among other information.  When a web designer decides to use SSL he needs to purchase a certificate that is signed using the CA's private key.  The web browser starts a connection to an HTTPS site. Along with this request the client sends all supported encryption schemes.  As a response to the browser's connection request, the Server sends a copy of the certificate from step 2. Along with this transmission is the server's answer to the encryption negotiation.  Once a certificate is downloaded, the signature of the certificate (that was signed using the CA's private key) is checked using the CA's public key (installed in the browser in step 1.  The connection succeeds, the client can now download and upload to the web site with the security of encryption.
  • 17. SSL Handshake  A HTTP-based SSL connection is always initiated by the client using a URL starting with https:// instead of with http://.  At the beginning of an SSL session, an SSL handshake is performed  This handshake produces the cryptographic parameters of the session.  Simplified Overview:
  • 18. How SSL Overcomes HTTP Security Concerns  Secure Sockets Layer technology protects your Web site and makes it easy for your Web site visitors to trust you in three essential ways:  Privacy  An SSL Certificate enables encryption of sensitive information during online transactions.  Integrity.  A Certificate Authority verifies the identity of the certificate owner when it is issued.  Authentication.  Each SSL Certificate contains unique, authenticated information about the certificate owner.
  • 19. Limitations of HTTPS  An HTTPS server can only provide one "virtual host" behind a single socket, as opposed to multiple ones behind an http socket.  This is because all security negotiation takes place before the HTTP protocol starts & hence before the server knows which URL the client is asking for.  HTTPS cannot prevent stealing confidential information from the pages cached on the browser.  Since in SSL data is encrypted only during transmission on the network, it is in clear text in the browser memory  HTTPS is slightly slower than HTTP.  HTTPS adds computational overhead as well as network overhead.
  • 20. Conclusion  The HTTP network protocol is fundamental to the way the World Wide Web works, and the encryption involved in HTTPS adds an essential layer if confidential information or sensitive data are to be exchanged over the public internet.  Hence, If a website ever asks you to enter your credit card information, you should automatically look to see if the web address begins with https://. If it doesn't, there's no way you're going to enter sensitive information like a credit card number! 