SlideShare a Scribd company logo
1 of 25
Web Training
   Jayant Mukherjee



                      February 13, 2013   1
Part01: Introduction
                         How web works…



Part 01 - Introduction              February 13, 2013   2
Part01 : Topics
• Brief History of Internet
     o Evolution of Internet
     o Internet Protocol

• Client-Server Architecture
     o Client: Browser (Request)
     o Server: Web Server (Response)

• Communication
     o Background
         • URL parsing
     o Protocols

• Host Resolution




 Part 01 - Introduction                February 13, 2013   3
Part01 : Brief History of Internet
• Evolution of Internet!
     o In 1969, Project Arpanet funded by
       U.S. Military, initiated by DARPA in
       1962.
     o Renaming of Arpanet happened.
       Arpanet  MILNET  Internet




     o LAN  WAN  Internet
     o Growth of Internet Hosts & Users were
       exponential… and soon became
       global phenomena…




 Part 01 - Introduction                        February 13, 2013   4
Part01 : Brief History of Internet
• Protocol for Internet
     o Internet Protocol (IP) is the method or
       protocol by which data is sent from
       one computer to another on the
       Internet.
     o Data is sent in chunks (packets)
       consisting of source & destination IP
       address and travels as relay.
     o Internet Protocol delivers the packets.
       Transmission Control Protocol puts
       them back in right order
     o Identification via Internet protocol
       address IPv4/IPv6
         • IPv4:n.n.n.n [232 addresses]
           where n is 0-255
           (4 bytes)
         • IPv6:x.x.x.x.x.x [2128 addresses]
           where x is 0000-FFFF
           (16 bytes)

 Part 01 - Introduction                          February 13, 2013   5
Part01 : Client-Server Architecture
• Client (Browser)
     o Client can be any application running locally on user‟s workstation which
       can make connection and send web request to server.
     o Browsers : IE, Firefox, Chrome

• Server (Webserver)
     o Server or Webserver application is an application which listens to the
       request and sends response to the request.
     o Webservers : Apache, IIS




 Part 01 - Introduction                                            February 13, 2013   6
Part01 : Communication
• Background
    o URL (FQDN)
        • URL Format: protocol://address:port/path/(page)
        • Address Format: www.domainname.[tld/cctld]
    o Protocols
        • http, https, ftp, gopher, telnet, irc…




Part 01 - Introduction                                      February 13, 2013   7
Part01 : Host Resolution




Part 01 - Introduction     February 13, 2013   8
Part01 : Host Resolution
• e.g. Customer need to connect to (FQDN)
  www.mybank.com
• IP address of the host is controlled by the company
  MyBank and is stored within a DNS server under that
  organisations control
• Customer‟s web browser software must first discover the
  IP address to connect to www.mybank.com
• Customer‟s computer doesn‟t know the IP address of the
  DNS server & to find it out it needs to query other servers




 Part 01 - Introduction                           February 13, 2013   9
Part01 : Host Resolution
• Computer uses DNS resolver to connect to a known
  root server and obtain TLD(„.com‟) Server‟s address.
• DNS resolver then queries TLD Server for authoritative
  („.mybank.com‟) DNS Server‟s address.
• Finally, DNS resolver queries the organisations
  authoritative DNS server for the IP address of the
  „www‟ host.
• Client uses this resolved IP address to fetch data
  from host.




 Part 01 - Introduction                      February 13, 2013   10
Part01 : Host Resolution
• Root Servers
     o There are 13 number of strategically placed Root Servers underpinning the
       entire Internet – referenced by 13 distinct names – each is assigned a letter
       ranging from A to M, with the full name containing ROOT-SERVERS.NET.
     o DNS resolvers use hard-coded IP lookup tables for these servers.
     o Only 13 root servers are typically referenced, due to data limitations
       requiring all root server names to fit within a single UDP packet given the
       current naming scheme.




 Part 01 - Introduction                                             February 13, 2013   11
Part01 : Host Resolution
• Top Level Domain Servers
    o Top Level Domain server‟s role is to point DNS resolvers to an Authoritative
      Domain server.
    o TLD layer is divided into two distinct classes – Generic TLDs (gTLD) and
      Country-code TLDs (ccTLD) – with the ccTLD‟s also having a range of
      subdomain servers.
    o Until mid-2000, the root servers also handled all requests for the gTLDs. This
      responsibility was later removed from the root servers and led to the
      creation of dedicated TLD servers.
    o gTLD‟s provide resolver information for the common
      .com, .net, .org, .gov, .mil and .gov domain groupings.
    o ccTLD‟s provide resolver information for country specific domain groupings
      – such as .uk, .be, .in, .nl, etc.




Part 01 - Introduction                                              February 13, 2013   12
Part01 : Host Resolution
• Authoritative Domain Servers (or Name Servers)
     o Name Servers manage a Zone and either provide IP address lookup
       information themselves, or delegate the lookup of zone/sub-zone
       information to other DNS name servers.
     o DNS define two classes of name servers:
         • Primary Master name server maintains a zone file, stored locally on the
            host.
         • Secondary Master name servers get their zone info from an authoritative
            name server for that zone via a process called “zone transfer”.
     o Use whois lookup to get information.




 Part 01 - Introduction                                          February 13, 2013   13
Part01 : Host Resolution
• DNS Servers
    o The DNS server (a generic term for Name Server) for a particular
      domain provides forward and reverse resolution services between a
      specific host name and its IP address.
    o e.g., the DNS server for MyBank Limited may contain entries such as:
        • The IP address of “www” is 100.1.2.10 (www.mybank.com)
        • The IP address of “ftp” is 100.1.2.11 (ftp.mybank.com)
        • The IP address of “mail” is 100.1.2.14 (mail.mybank.com)
        • The IP address of “testserver” is 100.1.10.12
          (testserver.mybank.com)
• WWW (World Wide Web)
    o Its a system of interlinked hypertext documents and other
      resources, linked by hyperlinks and URLs, accessed via the
      Internet, developed by Sir Timothy John "Tim" Berners-Lee.
    o www is one of the services that runs on the Internet.
    o Try checking by nslookup.
         • nslookup www.domain.com
         • nslookup domain.com



Part 01 - Introduction                                             February 13, 2013   14
Part01 : Host Resolution
• Process of Resolution




 Part 01 - Introduction    February 13, 2013   15
Part01 : Host Resolution
• Resolution of MyBank DNS server from two physical locations




 Part 01 - Introduction                            February 13, 2013   16
Part01 : Host Resolution
• Multiple corporate DNS servers with internationally
  distributed host servers
     o e.g. MyBank Limited which has registered three domains
       (mybank.com, mybank.co.uk, and mybank.com.au) and manages three
       DNS servers strategically placed to handle customer host lookups in their
       three key geographic business regions (Europe, Americas, and the Pacific)




 Part 01 - Introduction                                          February 13, 2013   17
Part01 : Host Resolution




Part 01 - Introduction     February 13, 2013   18
Part02: Technologies
                         Introduction of Web Technologies…



Part 02 - Technologies                                February 13, 2013   19
Part02 : Topics
• HTML
• CSS
• Scripting Language
    o Client side
        • JavaScript
        • VBScript
    o Server side
        • CGI/Perl
        • PHP
        • ASP
        • Python
        • Ruby
        • CFML
        • Java / ASP.Net




Part 02 - Technologies     February 13, 2013   20
Part02 : <HTML>
• Introduction
• Fundamentals
     o Meta Data
         • Document type
         • Language type
         • Content type
     o Tags, Attributes, Elements
     o Comments

• Structure




 Part 02 - Technologies             February 13, 2013   21
Part02 : <HTML> Introduction
• HTML - HyperText Markup Language.
• The first publicly available description of HTML was a
  document called HTML Tags, first mentioned on the
  Internet by Berners-Lee in late 1991.
• HTML is a markup language that web browsers use
  to interpret and compose text, images and other
  material into visual or audible web pages.
                          HTML version       Time line
                          HTML 2.0           November, 1995
                          HTML 3.2           January, 1997
                          HTML 4.0           December, 1997
                          HTML 4.01          December, 1999
                          HTML 4.01 Strict   May, 2000
                          HTML 5.0           January, 2008


 Part 02 - Technologies                              February 13, 2013   22
Part02 : <HTML> Fundamentals
• DOCTYPE
    o Validity of HTML is defined by DOCTYPE.
    o <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      highlighted portion describes the document behavior.

• Language Type
    o Primary language of a document can be set through HTTP header or with
      the xml:lang attribute inside the opening html tag. The value is an
      abbreviation, such as 'en' (English), 'fr' (French), 'de' (German) or 'mg'
      (Malagasy).
    o <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">.

• Content Type
    o The media type and character set of an HTML document also needs to be
      specified via header or meta tag.
    o Content-Type: text/html; charset=UTF-8
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />.



Part 02 - Technologies                                            February 13, 2013   23
Part02 : <HTML> Fundamentals
• Tags
     o <tag>…</tag>.
     o In general a start tag will have closing tag. e.g. <table>…</table>.
• Attribute
     o <tag attrib="prop_value">…</tag>.
     o Attributes are properties for a specific tag.
       e.g. <table border="1">…</table>.
• Elements
     o <tag attrib="prop_value">content</tag>.
     o Element consists of full tag with content. e.g.
       <table border="1">
          <tr>
            <th>Month</th>
            <th>Savings</th>
          </tr>
          <tr>
            <td>January</td>
            <td>$100</td>
          </tr>
       </table>.
• Comments
     o <!-- block comments -->.


 Part 02 - Technologies                                               February 13, 2013   24
Part02 : <HTML> Structure
• Doc declaration
                            <!DOCTYPE html>

                            <html>
• HTML block                 <head>
    o Head                    <title>Shiny Gongs</title>
       • Meta                </head>
       • Title
                             <body>
    o Body
                              <h1>My First Heading</h1>
       • Display elements
             o Rich text      <p>My first paragraph.</p>
             o Table         </body>
             o Layers       </html>
             o Forms
             o Applets
             o Flash
             o Animation




Part 02 - Technologies                               February 13, 2013   25

More Related Content

What's hot (20)

Dn sonly
Dn sonlyDn sonly
Dn sonly
 
Networking Basics with Linux
Networking Basics with LinuxNetworking Basics with Linux
Networking Basics with Linux
 
Lets talk dns
Lets talk dnsLets talk dns
Lets talk dns
 
Dns
DnsDns
Dns
 
main
mainmain
main
 
Dns ppt
Dns pptDns ppt
Dns ppt
 
Dynamic Domain Name System
Dynamic Domain Name SystemDynamic Domain Name System
Dynamic Domain Name System
 
06 coms 525 tcpip - dhcp and dns
06   coms 525 tcpip - dhcp and dns06   coms 525 tcpip - dhcp and dns
06 coms 525 tcpip - dhcp and dns
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
DNS/DNSSEC by Nurul Islam
DNS/DNSSEC by Nurul IslamDNS/DNSSEC by Nurul Islam
DNS/DNSSEC by Nurul Islam
 
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAILDNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
DNSSEC - WHAT IS IT ? INSTALL AND CONFIGURE IN CHROOT JAIL
 
Dns Hardening Linux Os
Dns Hardening   Linux OsDns Hardening   Linux Os
Dns Hardening Linux Os
 
IPv6 introduction
IPv6 introductionIPv6 introduction
IPv6 introduction
 
03 network services
03 network services03 network services
03 network services
 
IPv6 Tutorial; USENIX LISA 2013
IPv6 Tutorial; USENIX LISA 2013IPv6 Tutorial; USENIX LISA 2013
IPv6 Tutorial; USENIX LISA 2013
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 
Lecture3
Lecture3Lecture3
Lecture3
 
Dns
DnsDns
Dns
 
Linux and DNS Server
Linux and DNS ServerLinux and DNS Server
Linux and DNS Server
 
Dns
DnsDns
Dns
 

Viewers also liked

Opengl lec 3
Opengl lec 3Opengl lec 3
Opengl lec 3elnaqah
 
3 d graphics with opengl part 2
3 d graphics with opengl  part 23 d graphics with opengl  part 2
3 d graphics with opengl part 2Sardar Alam
 
CG OpenGL polar curves & input display color-course 4
CG OpenGL polar curves & input display color-course 4CG OpenGL polar curves & input display color-course 4
CG OpenGL polar curves & input display color-course 4fungfung Chen
 
Presentacion
PresentacionPresentacion
Presentacionkuzan
 
Que debo hacer
Que debo hacerQue debo hacer
Que debo hacerbichitabln
 
Herramientas de la web 2.0
Herramientas de la web 2.0Herramientas de la web 2.0
Herramientas de la web 2.0erickmaterano
 
Presentación idea enzo castro
Presentación idea enzo castroPresentación idea enzo castro
Presentación idea enzo castroEnzoACastroS
 
Presentacion narración
Presentacion narraciónPresentacion narración
Presentacion narraciónLizazul389
 
Ivanna's Baby Boutique
Ivanna's Baby BoutiqueIvanna's Baby Boutique
Ivanna's Baby BoutiqueIllimedellin
 
Information Systems Security: An Overview
Information Systems Security: An OverviewInformation Systems Security: An Overview
Information Systems Security: An OverviewApostolos Syropoulos
 
La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...
La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...
La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...CICMoficial
 

Viewers also liked (20)

OpenGL Introduction
OpenGL IntroductionOpenGL Introduction
OpenGL Introduction
 
OpenGL Basics
OpenGL BasicsOpenGL Basics
OpenGL Basics
 
Opengl lec 3
Opengl lec 3Opengl lec 3
Opengl lec 3
 
3 d graphics with opengl part 2
3 d graphics with opengl  part 23 d graphics with opengl  part 2
3 d graphics with opengl part 2
 
An Overview of Social Media
An Overview of Social MediaAn Overview of Social Media
An Overview of Social Media
 
CG OpenGL polar curves & input display color-course 4
CG OpenGL polar curves & input display color-course 4CG OpenGL polar curves & input display color-course 4
CG OpenGL polar curves & input display color-course 4
 
Distributed Operating System_3
Distributed Operating System_3Distributed Operating System_3
Distributed Operating System_3
 
Presentacion
PresentacionPresentacion
Presentacion
 
Que debo hacer
Que debo hacerQue debo hacer
Que debo hacer
 
Herramientas de la web 2.0
Herramientas de la web 2.0Herramientas de la web 2.0
Herramientas de la web 2.0
 
Presentación idea enzo castro
Presentación idea enzo castroPresentación idea enzo castro
Presentación idea enzo castro
 
Presentacion narración
Presentacion narraciónPresentacion narración
Presentacion narración
 
Ivanna's Baby Boutique
Ivanna's Baby BoutiqueIvanna's Baby Boutique
Ivanna's Baby Boutique
 
GRUPO de HELSINKI
GRUPO de HELSINKIGRUPO de HELSINKI
GRUPO de HELSINKI
 
Presentación2
Presentación2Presentación2
Presentación2
 
Information Systems Security: An Overview
Information Systems Security: An OverviewInformation Systems Security: An Overview
Information Systems Security: An Overview
 
Fuzzy Topological Systems
Fuzzy Topological SystemsFuzzy Topological Systems
Fuzzy Topological Systems
 
Aplicaciones para-hacer-ejercicio
Aplicaciones para-hacer-ejercicioAplicaciones para-hacer-ejercicio
Aplicaciones para-hacer-ejercicio
 
OpenGL Starter L01
OpenGL Starter L01OpenGL Starter L01
OpenGL Starter L01
 
La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...
La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...
La formacion de ingenieros para la emergencia, Reunión del grupo Visión prosp...
 

Similar to Web Training Introduction

DevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNS
DevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNSDevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNS
DevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNSDaniel Mittelman
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basicsJyoti Yadav
 
2 networking
2 networking2 networking
2 networkingLen Bass
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10Waqas Ahmed Nawaz
 
Internet Week 2018: 1.1.1.0/24 A report from the (anycast) trenches
Internet Week 2018: 1.1.1.0/24 A report from the (anycast) trenchesInternet Week 2018: 1.1.1.0/24 A report from the (anycast) trenches
Internet Week 2018: 1.1.1.0/24 A report from the (anycast) trenchesAPNIC
 
Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and ProtocolsNetwork Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and ProtocolsAbdelkhalik Mosa
 
Web-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptxWeb-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptxAlokKumar250045
 
How the internet_works
How the internet_worksHow the internet_works
How the internet_worksarun nalam
 
Lesson+3 v2.0 slide_show [autosaved]
Lesson+3 v2.0 slide_show [autosaved]Lesson+3 v2.0 slide_show [autosaved]
Lesson+3 v2.0 slide_show [autosaved]gmidavis
 
Application layer
Application layerApplication layer
Application layerNeha Kurale
 
Application layer
Application layerApplication layer
Application layerNeha Kurale
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebservertarensi
 
Chapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptxChapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptxmanju772238
 
Working on internet
Working on internetWorking on internet
Working on internetOnline
 

Similar to Web Training Introduction (20)

COMPUTER NETWORKS UNIT 5
COMPUTER NETWORKS UNIT 5COMPUTER NETWORKS UNIT 5
COMPUTER NETWORKS UNIT 5
 
Web Browsers.pptx
Web Browsers.pptxWeb Browsers.pptx
Web Browsers.pptx
 
DevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNS
DevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNSDevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNS
DevOpsDays TLV 2019 - The Treacherous Road Towards Multi-DNS
 
introduction to web application development
introduction to web application developmentintroduction to web application development
introduction to web application development
 
1. web technology basics
1. web technology basics1. web technology basics
1. web technology basics
 
2 networking
2 networking2 networking
2 networking
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 10
 
Network Testing ques
Network Testing quesNetwork Testing ques
Network Testing ques
 
Internet Week 2018: 1.1.1.0/24 A report from the (anycast) trenches
Internet Week 2018: 1.1.1.0/24 A report from the (anycast) trenchesInternet Week 2018: 1.1.1.0/24 A report from the (anycast) trenches
Internet Week 2018: 1.1.1.0/24 A report from the (anycast) trenches
 
Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and ProtocolsNetwork Fundamentals: Ch3 - Application Layer Functionality and Protocols
Network Fundamentals: Ch3 - Application Layer Functionality and Protocols
 
Web-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptxWeb-Server & It's Architecture.pptx
Web-Server & It's Architecture.pptx
 
How the internet_works
How the internet_worksHow the internet_works
How the internet_works
 
Lesson+3 v2.0 slide_show [autosaved]
Lesson+3 v2.0 slide_show [autosaved]Lesson+3 v2.0 slide_show [autosaved]
Lesson+3 v2.0 slide_show [autosaved]
 
Application layer
Application layerApplication layer
Application layer
 
Application layer
Application layerApplication layer
Application layer
 
05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver05.m3 cms list-ofwebserver
05.m3 cms list-ofwebserver
 
WP Chap 1 & 2.pptx
WP Chap 1 & 2.pptxWP Chap 1 & 2.pptx
WP Chap 1 & 2.pptx
 
Chapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptxChapter 10 Domain Name Systems_MWSA.pptx
Chapter 10 Domain Name Systems_MWSA.pptx
 
Working on internet
Working on internetWorking on internet
Working on internet
 
Web Fendamentals
Web FendamentalsWeb Fendamentals
Web Fendamentals
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

Web Training Introduction

  • 1. Web Training Jayant Mukherjee February 13, 2013 1
  • 2. Part01: Introduction How web works… Part 01 - Introduction February 13, 2013 2
  • 3. Part01 : Topics • Brief History of Internet o Evolution of Internet o Internet Protocol • Client-Server Architecture o Client: Browser (Request) o Server: Web Server (Response) • Communication o Background • URL parsing o Protocols • Host Resolution Part 01 - Introduction February 13, 2013 3
  • 4. Part01 : Brief History of Internet • Evolution of Internet! o In 1969, Project Arpanet funded by U.S. Military, initiated by DARPA in 1962. o Renaming of Arpanet happened. Arpanet  MILNET  Internet o LAN  WAN  Internet o Growth of Internet Hosts & Users were exponential… and soon became global phenomena… Part 01 - Introduction February 13, 2013 4
  • 5. Part01 : Brief History of Internet • Protocol for Internet o Internet Protocol (IP) is the method or protocol by which data is sent from one computer to another on the Internet. o Data is sent in chunks (packets) consisting of source & destination IP address and travels as relay. o Internet Protocol delivers the packets. Transmission Control Protocol puts them back in right order o Identification via Internet protocol address IPv4/IPv6 • IPv4:n.n.n.n [232 addresses] where n is 0-255 (4 bytes) • IPv6:x.x.x.x.x.x [2128 addresses] where x is 0000-FFFF (16 bytes) Part 01 - Introduction February 13, 2013 5
  • 6. Part01 : Client-Server Architecture • Client (Browser) o Client can be any application running locally on user‟s workstation which can make connection and send web request to server. o Browsers : IE, Firefox, Chrome • Server (Webserver) o Server or Webserver application is an application which listens to the request and sends response to the request. o Webservers : Apache, IIS Part 01 - Introduction February 13, 2013 6
  • 7. Part01 : Communication • Background o URL (FQDN) • URL Format: protocol://address:port/path/(page) • Address Format: www.domainname.[tld/cctld] o Protocols • http, https, ftp, gopher, telnet, irc… Part 01 - Introduction February 13, 2013 7
  • 8. Part01 : Host Resolution Part 01 - Introduction February 13, 2013 8
  • 9. Part01 : Host Resolution • e.g. Customer need to connect to (FQDN) www.mybank.com • IP address of the host is controlled by the company MyBank and is stored within a DNS server under that organisations control • Customer‟s web browser software must first discover the IP address to connect to www.mybank.com • Customer‟s computer doesn‟t know the IP address of the DNS server & to find it out it needs to query other servers Part 01 - Introduction February 13, 2013 9
  • 10. Part01 : Host Resolution • Computer uses DNS resolver to connect to a known root server and obtain TLD(„.com‟) Server‟s address. • DNS resolver then queries TLD Server for authoritative („.mybank.com‟) DNS Server‟s address. • Finally, DNS resolver queries the organisations authoritative DNS server for the IP address of the „www‟ host. • Client uses this resolved IP address to fetch data from host. Part 01 - Introduction February 13, 2013 10
  • 11. Part01 : Host Resolution • Root Servers o There are 13 number of strategically placed Root Servers underpinning the entire Internet – referenced by 13 distinct names – each is assigned a letter ranging from A to M, with the full name containing ROOT-SERVERS.NET. o DNS resolvers use hard-coded IP lookup tables for these servers. o Only 13 root servers are typically referenced, due to data limitations requiring all root server names to fit within a single UDP packet given the current naming scheme. Part 01 - Introduction February 13, 2013 11
  • 12. Part01 : Host Resolution • Top Level Domain Servers o Top Level Domain server‟s role is to point DNS resolvers to an Authoritative Domain server. o TLD layer is divided into two distinct classes – Generic TLDs (gTLD) and Country-code TLDs (ccTLD) – with the ccTLD‟s also having a range of subdomain servers. o Until mid-2000, the root servers also handled all requests for the gTLDs. This responsibility was later removed from the root servers and led to the creation of dedicated TLD servers. o gTLD‟s provide resolver information for the common .com, .net, .org, .gov, .mil and .gov domain groupings. o ccTLD‟s provide resolver information for country specific domain groupings – such as .uk, .be, .in, .nl, etc. Part 01 - Introduction February 13, 2013 12
  • 13. Part01 : Host Resolution • Authoritative Domain Servers (or Name Servers) o Name Servers manage a Zone and either provide IP address lookup information themselves, or delegate the lookup of zone/sub-zone information to other DNS name servers. o DNS define two classes of name servers: • Primary Master name server maintains a zone file, stored locally on the host. • Secondary Master name servers get their zone info from an authoritative name server for that zone via a process called “zone transfer”. o Use whois lookup to get information. Part 01 - Introduction February 13, 2013 13
  • 14. Part01 : Host Resolution • DNS Servers o The DNS server (a generic term for Name Server) for a particular domain provides forward and reverse resolution services between a specific host name and its IP address. o e.g., the DNS server for MyBank Limited may contain entries such as: • The IP address of “www” is 100.1.2.10 (www.mybank.com) • The IP address of “ftp” is 100.1.2.11 (ftp.mybank.com) • The IP address of “mail” is 100.1.2.14 (mail.mybank.com) • The IP address of “testserver” is 100.1.10.12 (testserver.mybank.com) • WWW (World Wide Web) o Its a system of interlinked hypertext documents and other resources, linked by hyperlinks and URLs, accessed via the Internet, developed by Sir Timothy John "Tim" Berners-Lee. o www is one of the services that runs on the Internet. o Try checking by nslookup. • nslookup www.domain.com • nslookup domain.com Part 01 - Introduction February 13, 2013 14
  • 15. Part01 : Host Resolution • Process of Resolution Part 01 - Introduction February 13, 2013 15
  • 16. Part01 : Host Resolution • Resolution of MyBank DNS server from two physical locations Part 01 - Introduction February 13, 2013 16
  • 17. Part01 : Host Resolution • Multiple corporate DNS servers with internationally distributed host servers o e.g. MyBank Limited which has registered three domains (mybank.com, mybank.co.uk, and mybank.com.au) and manages three DNS servers strategically placed to handle customer host lookups in their three key geographic business regions (Europe, Americas, and the Pacific) Part 01 - Introduction February 13, 2013 17
  • 18. Part01 : Host Resolution Part 01 - Introduction February 13, 2013 18
  • 19. Part02: Technologies Introduction of Web Technologies… Part 02 - Technologies February 13, 2013 19
  • 20. Part02 : Topics • HTML • CSS • Scripting Language o Client side • JavaScript • VBScript o Server side • CGI/Perl • PHP • ASP • Python • Ruby • CFML • Java / ASP.Net Part 02 - Technologies February 13, 2013 20
  • 21. Part02 : <HTML> • Introduction • Fundamentals o Meta Data • Document type • Language type • Content type o Tags, Attributes, Elements o Comments • Structure Part 02 - Technologies February 13, 2013 21
  • 22. Part02 : <HTML> Introduction • HTML - HyperText Markup Language. • The first publicly available description of HTML was a document called HTML Tags, first mentioned on the Internet by Berners-Lee in late 1991. • HTML is a markup language that web browsers use to interpret and compose text, images and other material into visual or audible web pages. HTML version Time line HTML 2.0 November, 1995 HTML 3.2 January, 1997 HTML 4.0 December, 1997 HTML 4.01 December, 1999 HTML 4.01 Strict May, 2000 HTML 5.0 January, 2008 Part 02 - Technologies February 13, 2013 22
  • 23. Part02 : <HTML> Fundamentals • DOCTYPE o Validity of HTML is defined by DOCTYPE. o <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> highlighted portion describes the document behavior. • Language Type o Primary language of a document can be set through HTTP header or with the xml:lang attribute inside the opening html tag. The value is an abbreviation, such as 'en' (English), 'fr' (French), 'de' (German) or 'mg' (Malagasy). o <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">. • Content Type o The media type and character set of an HTML document also needs to be specified via header or meta tag. o Content-Type: text/html; charset=UTF-8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />. Part 02 - Technologies February 13, 2013 23
  • 24. Part02 : <HTML> Fundamentals • Tags o <tag>…</tag>. o In general a start tag will have closing tag. e.g. <table>…</table>. • Attribute o <tag attrib="prop_value">…</tag>. o Attributes are properties for a specific tag. e.g. <table border="1">…</table>. • Elements o <tag attrib="prop_value">content</tag>. o Element consists of full tag with content. e.g. <table border="1"> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> </table>. • Comments o <!-- block comments -->. Part 02 - Technologies February 13, 2013 24
  • 25. Part02 : <HTML> Structure • Doc declaration <!DOCTYPE html> <html> • HTML block <head> o Head <title>Shiny Gongs</title> • Meta </head> • Title <body> o Body <h1>My First Heading</h1> • Display elements o Rich text <p>My first paragraph.</p> o Table </body> o Layers </html> o Forms o Applets o Flash o Animation Part 02 - Technologies February 13, 2013 25

Editor's Notes

  1. The origins of the Internet date back nearly 40 years, with the U.S. military&apos;s funding of a research network dubbed Arpanet (Advanced Research Projects Agency) in 1969. The number of computers connected to the Internet has grown exponentially, while the number of users has risen from a handful of computer scientists to 1.5 billion consumers.
  2. Internet Protocol is responsible for addressing hosts and routing datagrams (packets) from a source host to the destination host across one or more IP networks. For this purpose the Internet Protocol defines an addressing system that has two functions. Addresses identify hosts and provide a logical location service. Each packet is tagged with a header that contains the meta-data for the purpose of delivery. This process of tagging is also called encapsulation.Any packet is sent first to a gateway computer that understands a small part of the Internet. The gateway computer reads the destination address and forwards the packet to an adjacent gateway that in turn reads the destination address and so forth across the Internet until one gateway recognizes the packet as belonging to a computer within its immediate neighborhood or domain. That gateway then forwards the packet directly to the computer whose address is specified.
  3. FQDN - Fully Qualified Domain Name.
  4. Maintained by Internet Corporation for Assigned Names and Num.bers (ICANN)