1
00:00:02,070 --> 00:00:03,750
Up to this point in the course,

2
00:00:03,750 --> 00:00:06,860
you already learned a lot about web development,

3
00:00:06,860 --> 00:00:08,740
about front-end web development

4
00:00:08,740 --> 00:00:12,170
and building nice websites with HTML, CSS,

5
00:00:12,170 --> 00:00:14,550
and browser side JavaScript,

6
00:00:14,550 --> 00:00:17,390
and you learned a lot about back-end development,

7
00:00:17,390 --> 00:00:22,160
also about data storage with databases and file uploads.

8
00:00:22,160 --> 00:00:27,040
But one super important concept and feature is missing,

9
00:00:27,040 --> 00:00:30,350
a feature which you don't need on every website,

10
00:00:30,350 --> 00:00:32,470
but on a lot of websites,

11
00:00:32,470 --> 00:00:36,220
and that would be user authentication.

12
00:00:36,220 --> 00:00:37,520
In this course section,

13
00:00:37,520 --> 00:00:39,590
you are going to learn how you can add

14
00:00:39,590 --> 00:00:42,680
user authentication to any website,

15
00:00:42,680 --> 00:00:46,820
so how you can enable users to sign up and create profiles

16
00:00:46,820 --> 00:00:50,603
and then log in with their credentials into your website.

17
00:00:51,500 --> 00:00:53,060
Now, of course, as mentioned,

18
00:00:53,060 --> 00:00:55,010
not every website needs that.

19
00:00:55,010 --> 00:00:56,450
If you're building a blog

20
00:00:56,450 --> 00:01:00,820
where visitors should only be able to read your blog posts,

21
00:01:00,820 --> 00:01:05,620
those visitors don't need to log in necessarily.

22
00:01:05,620 --> 00:01:07,990
But, of course, a lot of websites do.

23
00:01:07,990 --> 00:01:09,560
If you're building an online shop

24
00:01:09,560 --> 00:01:11,890
where users can place orders,

25
00:01:11,890 --> 00:01:14,710
you might need an account for every user

26
00:01:14,710 --> 00:01:18,140
so that users have to log in and in their account,

27
00:01:18,140 --> 00:01:22,780
they can then view their past orders, things like that.

28
00:01:22,780 --> 00:01:24,170
And because of that,

29
00:01:24,170 --> 00:01:26,560
it's, of course, super important as a web developer

30
00:01:26,560 --> 00:01:28,920
to know how authentication works

31
00:01:28,920 --> 00:01:32,020
and how you can add it to a website.

32
00:01:32,020 --> 00:01:33,890
And hence, that's exactly what we'll cover

33
00:01:33,890 --> 00:01:35,910
in this course section.

34
00:01:35,910 --> 00:01:39,040
You will first learn what exactly authentication is

35
00:01:39,040 --> 00:01:40,650
and how it works,

36
00:01:40,650 --> 00:01:42,680
and then we're going to implement it.

37
00:01:42,680 --> 00:01:46,570
We're going to implement sign up and log in functionalities

38
00:01:46,570 --> 00:01:49,553
on a demo website in this course section.

39
00:01:50,440 --> 00:01:53,350
And you will learn that for authentication,

40
00:01:53,350 --> 00:01:56,070
there are two extremely important concepts

41
00:01:56,070 --> 00:01:59,620
in web development which you absolutely have to know

42
00:01:59,620 --> 00:02:02,650
in order to implement authentication.

43
00:02:02,650 --> 00:02:05,270
And that would be sessions and cookies.

44
00:02:05,270 --> 00:02:07,170
These are two concepts

45
00:02:07,170 --> 00:02:10,620
which are not just used for authentication,

46
00:02:10,620 --> 00:02:12,900
you can also use them for other things

47
00:02:12,900 --> 00:02:14,680
as you will learn in this section,

48
00:02:14,680 --> 00:02:18,030
but they are super important for authentication.

49
00:02:18,030 --> 00:02:20,670
So whilst you can use them for other things,

50
00:02:20,670 --> 00:02:24,930
user authentication, as we will cover it in this section,

51
00:02:24,930 --> 00:02:27,950
won't work without sessions and cookies.

52
00:02:27,950 --> 00:02:30,310
And therefore, this will be a feature

53
00:02:30,310 --> 00:02:32,640
and knowledge-packed course section

54
00:02:32,640 --> 00:02:35,700
with a lot of new knowledge for you and therefore,

55
00:02:35,700 --> 00:02:38,393
let's not waste any time and dive right in.

