World Wide Web, FTP and HTTP
World Wide Web, FTP and HTTP
WWW stands for World Wide Web. A technical definition of the World Wide
Web is : all the resources and users on the Internet that are using the Hypertext
Transfer Protocol (HTTP).
A broader definition comes from the organization that Web inventor Tim
Berners-Lee helped found, the World Wide Web Consortium (W3C).
Internet and Web is not the same thing: Web uses internet to pass over the
information.
World Wide Web was created by Timothy Berners Lee in 1989 at CERN in
Geneva. World Wide Web came into existence as a proposal by him, to allow
researchers to work together effectively and efficiently at CERN. Eventually it
became World Wide Web.
WWW Architecture
Syntax
Data Interchange
Ontologies
Web Ontology Language (OWL) offers more constructs over RDFS. It comes
in following three versions:
Rules
RIF and SWRL offers rules beyond the constructs that are available from
RDFs and OWL. Simple Protocol and RDF Query Language (SPARQL) is
SQL like language used for querying RDF data and OWL Ontologies.
Proof
All semantic and rules that are executed at layers below Proof and their result
will be used to prove deductions.
Cryptography
On the top of layer User interface and Applications layer is built for user
interaction.
WWW Operation
WWW works on client- server approach. Following steps explains how the web
works:
Future
There had been a rapid development in field of web. It has its impact in almost
every area such as education, research, technology, commerce, marketing etc. So
the future of web is almost unpredictable.
Apart from huge development in field of WWW, there are also some technical
issues that W3 consortium has to cope up with.
User Interface
Technology
Work on privacy and security is under way. This would include hiding
information, accounting, access control, integrity and risk management.
Architecture
There has been huge growth in field of web which may lead to overload the
internet and degrade its performance. Hence more better protocol are required to
be developed.
FTP
o FTP stands for File transfer protocol.
o FTP is a standard internet protocol provided by TCP/IP used for
transmitting the files from one host to another.
It is mainly used for transferring the web page files from their creator to
o
the computer that acts as a server for other computers on the internet. o It is
also used for downloading the files to computer from other servers.
Objectives of FTP
Why FTP?
Although transferring files from one system to another is very simple and
straightforward, but sometimes it can cause problems. For example, two systems
may have different file conventions. Two systems may have different ways to
represent text and data. Two systems may have different directory structures.
FTP protocol overcomes these problems by establishing two connections
between hosts. One connection is used for data transfer, and another connection
is used for the control connection.
Mechanism of FTP
The above figure shows the basic model of the FTP. The FTP client has three
components: the user interface, control process, and data transfer process. The
server has two components: the server control process and the server data
transfer process.
o Control Connection: The control connection uses very simple rules for
communication. Through control connection, we can transfer a line of
command or line of response at a time. The control connection is made
between the control processes. The control connection remains connected
during the entire interactive FTP session.
o Data Connection: The Data Connection uses very complex rules as data
types may vary. The data connection is made between data transfer
processes. The data connection opens when a command comes for
transferring the files and closes when the file is transferred.
FTP Clients
o Speed: One of the biggest advantages of FTP is speed. The FTP is one of
the fastest way to transfer the files from one computer to another computer. o
Efficient: It is more efficient as we do not need to complete all the
operations to get the entire file.
o Security: To access the FTP server, we need to login with the username
and password. Therefore, we can say that FTP is more secure. o Back &
forth movement: FTP allows us to transfer the files back and forth.
Suppose you are a manager of the company, you send some information to
all the employees, and they all send information back on the same server.
Disadvantages of FTP:
o The standard requirement of the industry is that all the FTP transmissions
should be encrypted. However, not all the FTP providers are equal and not
all the providers offer encryption. So, we will have to look out for the
FTP providers that provides encryption.
o FTP serves two operations, i.e., to send and receive large files on a
network. However, the size limit of the file is 2GB that can be sent. It also
doesn't allow you to run simultaneous transfers to multiple receivers.
o Passwords and file contents are sent in clear text that allows unwanted
eavesdropping. So, it is quite possible that attackers can carry out the
brute force attack by trying to guess the FTP password.
o It is not compatible with every system.
HTTP
o HTTP stands for HyperText Transfer Protocol.
o It is a protocol used to access the data on the World Wide Web (www). o
The HTTP protocol can be used to transfer the data in the form of plain text,
hypertext, audio, video, and so on.
o This protocol is known as HyperText Transfer Protocol because of its
efficiency that allows us to use in a hypertext environment where there are
rapid jumps from one document to another document.
o HTTP is similar to the FTP as it also transfers the files from one host to
another host. But, HTTP is simpler than FTP as HTTP uses only one
connection, i.e., no control connection to transfer the files.
o HTTP is used to carry the data in the form of MIME-like format. o MIME
(Multipurpose Internet Mail Extensions) is an extension of the original
Simple Mail Transport Protocol (SMTP) email protocol. It lets users
exchange different kinds of data files, including audio, video, images and
application programs, over email.
o HTTP is similar to SMTP as the data is transferred between client and
server. The HTTP differs from the SMTP in the way the messages are
sent from the client to the server and from server to the client. SMTP
messages are stored and forwarded while HTTP messages are delivered
immediately.
Features of HTTP:
HTTP Transactions
The above figure shows the HTTP transaction between client and server. The
client initiates a transaction by sending a request message to the server. The
server replies to the request message by sending a response message.
Messages
HTTP messages are of two types: request and response. Both the message types
follow the same message format.
Request Message: The request message is sent by the client that consists of a
request line, headers, and sometimes a body.
Response Message: The response message is sent by the server to the client that
consists of a status line, headers, and sometimes a body.
Method: The
o
method is the protocol used to retrieve the document from a server. For
example, HTTP.
o Host: The host is the computer where the information is stored, and the
computer is given an alias name. Web pages are mainly stored in the
computers and the computers are given an alias name that begins with the
characters "www". This field is not mandatory.
o Port: The URL can also contain the port number of the server, but it's an
optional field. If the port number is included, then it must come between
the host and path and it should be separated from the host by a colon.
o Path: Path is the pathname of the file where the information is stored. The
path itself contain slashes that separate the directories from the
subdirectories and files.