2 hours 5 minutes
Hello, everyone, and welcome back to the course.
After a brief introduction in the last video, we can start our review
first, we'll review the Web applications, architecture and its components.
Let's start with a question.
Check this affirmation.
Web applications are examples of client server model applications.
Is this information true or false?
This information is true.
We will discuss the client server model during this video.
Let's check the learning objectives of this video.
The learning objectives of this video are to review the Web application Architecture ER and the client server model.
We will review Web application components like the Web server and clients
Let's define what a Web application is.
According to Wikipedia, a Web app is a client server application that runs in a Web browser.
The Web applications can be static or dynamic, with many features. One example of a static page is text basis or just images.
And the dynamic Web page contains a lot of scripts to change the Web page,
for two different users, the Web server can send different Web pages. It happens because the scripts identify the user.
Advertising content is a good example.
The same Web page can contain different ads for different users. That's why we say dynamic
social networks and Internet banking are good examples of dynamic pages
for each user. The social network or the Internet banking page will display different content.
Usually the dynamic content is controlled by an application server.
You will see later in this video that the application server is one of the components of modern Web applications.
Some more definitions.
Do you know what all these things are?
a huge network composed of many other smaller networks.
For example, your cell phone is inside a smaller network, and it connects to the Internet.
Www or the World Wide Web is a specific portion of the Internet that host websites or Web pages.
It's also known as the Web
the default language to build Web pages and Web applications.
Even if you've heard about PHP or dot net
all those languages use HTML toe work
The protocol used to transmit messages by www
It's the protocol the client uses to talk with the Web server
Web application Architecture ER uses the client server model.
It's composed of two components.
The client making requests and the server answering the requests.
The request uses http protocol.
The process is like this.
We have a Web browser that request some information
it uses the http to request from the Web server.
The Web server answers the request using http, too.
With the diversity of the Internet and the increased number of services offered,
the Web application has evolved.
The number of dynamic Web pages increased Ah, lot, though it's not as common to have multi layer applications.
The clients talk with the first layer, the presentation layer that contains the Web server.
This Web server often talks with an application server.
to handle the data, it's going to use a database server as one of the components.
for a banking application, the Web server will show the Web pages.
The application server will run the processes to calculate your savings, and the database will store your name, account and savings amount.
Depending on the Web application, the Web server can talk with the application server and the database server.
the client should not connect to the application or database servers,
all the communication with the client is handled by the Web server.
How many people access the same Web page at the same time?
Do you think that Onley one Web server can handle all the requests for information?
By the end of 2018, we had around 4.3 billion people who access the Web
to answer all of those requests. The number of servers is high. To answer all these requests, a load balanced solution is used to share the workload on the main servers.
More servers are included on all layers.
That's how it's possible for so many people to access the same resource is at the same time.
Now let's talk about Web clients.
The Web server has the Web page, and it's waiting for the request for these pages.
The client request the page to the Web server. A request sent to the Web server is a Web client job known as a user agent.
Web browsers are the most commonly known.
You use Web browsers on your computer and on your mobile phone.
Some examples are Microsoft Edge, Mozilla Firefox, Google Chrome.
Although other programs can make the same http requests as the Web browsers,
some examples are end cat tell Net curl and w get
This is easy because http is text base.
You will see learning this course. That request is some text with comments.
Here are some examples of telnet requests and Firefox
Let's explore the Telenet command
on a limits machine We will access to Cyberia Page using Telnet.
If successful, it will show that you are connected to Sai Buri.
In this moment, the Web server is waiting for the http request to be answered.
If we send to the server and incorrect request,
it will answer with
Let's see one more example.
Let's try to access the Sai Buri Web page.
If you use Firefox or another Web browser, you'll get a nice picture with an error.
If you do the same, using w get you will get the same error. But in text format,
the request is the same. The answer is the same,
but how the answer is displayed is different.
W Get is a common software for Linux systems.
Let's see w get working
w get can be considered as a text basis Web browser.
we will request the Sai Buri Web page.
You can see here that it worked.
Now let's request the same Web page as the example,
the Web server answered,
you can see the 404 error.
The basic difference between Tell Net and W get is that with Till Net, you need to craft all the requests Telnet will not send. Http request to the Web server.
W Get is like a browser. It will send the request
after talking about clients and user agents.
The next important Web application component is the Web server.
As I said before, the Web servers are responsible for answering the clients requests.
The most common Web servers today are Apache, N G I X and Microsoft Internet Information Services.
They have some differences, but they all do the expected job of a Web server.
Throughout our course, the differences will be in the logs.
If we talk about the full configurations of logging Apache at N. G. I X logs look almost the same.
Microsoft I s has a different log structure, though
we will show this difference in the next videos,
you can get more information about the Web servers on each of the listed websites.
Let's do some questions
Post assessment question
complete the sentence is
you can pause the video if you'd like
the correct sentences. W W W uses the protocol http to transmit messages through computer networks.
It uses the client server model to operate
Mozilla Firefox, Google Chrome and Microsoft Edge are examples of Web browsers.
There are programs that make requests to Web servers like Apache and JX and Microsoft I. I. S
The second answer is
Get is an example of http Method and 200 is an example of http Status Code
In this video, we talked about Web application architecture ER and the client server model.
We also talked about some definitions of user agents and Web servers.
In the next video, we will focus on http status codes and http methods.
We will also do a brief review of TCP slash ip protocols.
Penetration Testing and Ethical Hacking
The Penetration Testing and Ethical Hacking course prepares students for certifications, like CEH. This course ...
7 CEU/CPE Hours Available
Certificate of Completion Offered
Recover from SQL Injection Attack
After identifying a SQL Injection attack, students will learn about parameterized queries in back-end web ...