Authentication mechanisms.
Hi, everyone.
Today, we're going to talk about authentication and I will explain what it is and then we're going
to, of course, do some python tests and write the scripts in order to do authentication with Python.
I guess some of you might know some things about authentication, but the most simple way to expand
is, for example, sometimes if you want to log into your account, you will need an authentication
app in order for you to have to have verification of yourself.
So this is a more secure way to assess your Web, credit those over the Web or over the network.
Authentication supports natively HTP protocols and intercepts, both types of basic HTP and that they
just htp.
So the basic HTP authentication is based on the Base 64 protocol and usually is composed by two things
user and password.
And this is your username and password.
You know, you can always see your passport written by dots, so you cannot actually see what you're
writing.
So the authentication mechanism is just the way that you're seeing Callcredit those and it defines what
is password, what's its user username and so on.
The other HTP mechanism for authentication is the HTP.
They just mechanism.
And this mechanism used in the five encryption protocols to encrypt the user details with Python, it
is actually very easy to access authentication modules and you can do this usually with the request,
the library, and from there you can access both the basic and they just authentication algorithms.
So let's first talk about the basic authentication.
The best way to out the indication assumes that the client is identified only by username and password.
So in order for the client to assess the website or the page over the web, he needs to provide both
of those great docs and in order to do that.
So once you request a server to log in, the server usually responds with the connection to the base64
encoding and gives you the fields where you can write your credit or as we said, username and password
on their site.
The date just authentication is created after the base authentication and is usually used to improve
and it usually encrypts all the information with an algorithm code and give five.
It was a key and the rail in order to encrypt your data so that they just authentication extends the
basic one by using one way hashing cryptographic algorithm in order to protect your credit those.
So it first encrypts the authorization information and then it adds a unique connecting value.
This value is used by the client browser in order to calculate the possible response in a hash format.
So your password is not directly related to you, but needs to be calculated by the algorithm in the
return.
This extra level of safety.
Why are we using Callcredit those?
So this was the introduction to the authentication mechanisms in the in the next lecture, we're going
to assess them by using Python.
That's it.
Guys, thanks very much for watching this video and I'll be waiting for you in the next one.