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

Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...rahul kundu
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Shimona Agarwal
 
Transport Layer Security (TLS)
Transport Layer Security (TLS)Transport Layer Security (TLS)
Transport Layer Security (TLS)Arun Shukla
 
Transport layer security (tls)
Transport layer security (tls)Transport layer security (tls)
Transport layer security (tls)Kalpesh Kalekar
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layertmavroidis
 
Block Cipher and its Design Principles
Block Cipher and its Design PrinciplesBlock Cipher and its Design Principles
Block Cipher and its Design PrinciplesSHUBHA CHATURVEDI
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocolAviran Mordo
 
Secure Socket Layer
Secure Socket LayerSecure Socket Layer
Secure Socket LayerNaveen Kumar
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)Kruti Niranjan
 

What's hot (20)

Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
 
HTTPS
HTTPSHTTPS
HTTPS
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
Transport Layer Security (TLS)
Transport Layer Security (TLS)Transport Layer Security (TLS)
Transport Layer Security (TLS)
 
Web Security
Web SecurityWeb Security
Web Security
 
HTTP Basics
HTTP BasicsHTTP Basics
HTTP Basics
 
HTTP Presentation
HTTP Presentation HTTP Presentation
HTTP Presentation
 
Transport layer security (tls)
Transport layer security (tls)Transport layer security (tls)
Transport layer security (tls)
 
S/MIME
S/MIMES/MIME
S/MIME
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
 
HTTP VS. HTTPS: WHICH IS BETTER??
HTTP VS. HTTPS: WHICH IS BETTER??HTTP VS. HTTPS: WHICH IS BETTER??
HTTP VS. HTTPS: WHICH IS BETTER??
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Block Cipher and its Design Principles
Block Cipher and its Design PrinciplesBlock Cipher and its Design Principles
Block Cipher and its Design Principles
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
 
Domain name system
Domain name systemDomain name system
Domain name system
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
Proxy Server
Proxy ServerProxy Server
Proxy Server
 
HTTP
HTTPHTTP
HTTP
 
Secure Socket Layer
Secure Socket LayerSecure Socket Layer
Secure Socket Layer
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
 

Similar to Http Vs 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.docxtodd401
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptxkebeAman
 
Ch4 Protocols.pptx
Ch4 Protocols.pptxCh4 Protocols.pptx
Ch4 Protocols.pptxazmerawAnna1
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guideSrihari
 
1 web technologies
1 web technologies1 web technologies
1 web technologiesJalpesh Vasa
 
BAIT1103 Chapter 4
BAIT1103 Chapter 4BAIT1103 Chapter 4
BAIT1103 Chapter 4limsh
 
Protocols in computer network
Protocols in computer network   Protocols in computer network
Protocols in computer network priya sehgal
 
Ports and services
Ports and servicesPorts and services
Ports and servicesIlan Mindel
 
network protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedinetwork protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedinitashach22
 

Similar to Http Vs Https . (20)

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
 
network protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedinetwork protocol | Networking by Nitasha Chaturvedi
network protocol | Networking by Nitasha Chaturvedi
 

Recently uploaded

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 

Recently uploaded (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

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! 