Repository navigation
C Programming Intermediate Lecture 7 Salted Hash with GUID Login System Design and Implement
Full tutorial link > https://www.youtube.com/watch?v=0Wl0ooYZ5zY
C# Programming (Advanced/Intermediate) Lectures (7/14) will teach you #CSharp #programming from beginner to intermediate/expert level. This course is an excellent source to learn advanced concepts in C# #coding. If you are a beginner to C#, watch our previous course lectures. The playlist link of the previous course is below.
Full playlist of the previous course: C# For Beginners
https://www.youtube.com/playlist?list=PL_pbwdIyffskoSXySh0MdiayPJsBZ7m2o
Discord ➡️ https://bit.ly/SECoursesDiscord
Patreon ➡️ https://www.patreon.com/SECourses
Technology Playlist (30+ Tutorial / Guide / News / Review Videos)
https://www.youtube.com/playlist?list=PL_pbwdIyffsnkay6X91BWb9rrfLATUMr3
Stable Diffusion Playlist (30+ Tutorial / Guide Videos)
https://www.youtube.com/playlist?list=PL_pbwdIyffsmclLl0O144nQRnezKlNdx3
Please join discord, mention me and ask me any questions. Thank you for like, subscribe, share and Patreon support. I am open to private consulting with Patreon subscription.
Full playlist of this course
https://www.youtube.com/playlist?list=PL_pbwdIyffslHaBdS3RUW26RKzSjkl8m4
You can watch for free our C# Programming, ASP .NET Core MVC programming, Machine Learning and Software Engineering related courses on our playlists page
https://www.youtube.com/@SECourses/playlists
GitHub code repository of this course (source codes of the lectures)
https://github.com/FurkanGozukara/Introduction-to-Programming-2-2021
In Lecture 7:
-
What is Globally Unique Identifier(GUID)
-
How to properly salt user password with GUID and hash it
-
How to develop a proper login system
-
How to keep logged-in user information in the ram memory
-
How to enable / disable tabs in C# .NET
-
How to change visibility of elements such as buttons in C# .NET
-
How to do login queries with entity framework such as checking if user exists and if password is correct
-
How to properly design table and implement security login try system
-
How to update entity framework classes with including database connection string in .NET Core project
-
How to extend DateTime struct
Introduction:
In today's world, security is of utmost importance, especially in web applications. One of the most critical components of a secure web application is the login system. It is essential to protect user passwords and store them securely. This is where Globally Unique Identifier (GUID) comes into the picture. In this article, we will discuss the following topics:
What is Globally Unique Identifier (GUID)?
How to properly salt user passwords with GUID and hash them.
How to develop a proper login system.
How to keep logged-in user information in the RAM memory.
How to enable/disable tabs in C# .NET.
How to change the visibility of elements such as buttons in C# .NET.
How to do login queries with entity framework such as checking if the user exists and if the password is correct.
How to properly design tables and implement security login try systems.
How to update entity framework classes with including database connection string in .NET Core projects.
How to extend the DateTime struct.
What is Globally Unique Identifier (GUID)?
A Globally Unique Identifier (GUID) is a 128-bit value that is unique across time and space. It is often used in software applications as a unique identifier for objects. A GUID is generated by combining a timestamp, a hardware identifier, and a random number. This makes it extremely unlikely for two GUIDs to be the same, even if they are generated on different machines at different times.
How to properly salt user passwords with GUID and hash them.
When storing user passwords in a database, it is essential to store them securely. One way to do this is by salting the password with a GUID and then hashing it. Salting the password involves adding a random value to the password before hashing it. This random value is called a salt.
To salt the password with a GUID, you can generate a new GUID for each user and add it to their password. Then, you can hash the salted password and store the salt and hash in the database. When the user logs in, you can retrieve the salt from the database and use it to salt the entered password. Then, you can hash the salted password and compare it to the stored hash to see if the password is correct.
How to develop a proper login system.
A proper login system should include the following features:
a. User authentication: The system should authenticate the user by verifying their username and password.
b. Password storage: The system should store the user's password securely by salting and hashing it.
c. Session management: The system should manage user sessions by creating a session ID when the user logs in and storing it in a cookie or session variable. The system should also expire the session after a certain amount of time or when the user logs out.
d. Access control: The system should control access to resources based on the user's role and permissions.
-
00:00:04 Hello dear students, welcome to the lecture 7 of advanced programming as known as also
-
00:00:09 introduction to program to so as you already seen your semester project is ready. Hopefully,
-
00:00:17 I will upload it today along with your video. I have prepared a very detailed document.
-
00:00:27 So after you have read this document you should have all the details.
-
00:00:33 Is all the idea about the project because still have questions always come to our Discord
-
00:00:41 Channel and ask whatever comes to your mind. But please read this document at least two
-
00:00:48 times or three times better. It is about four pages. And we also have some images to give
-
00:00:58 you an idea. Okay. This is for ideas. Not you don't have to make like this actually
-
00:01:03 Lee you should make it even better. Okay. This is just a draft of ideas to give you
-
00:01:10 what kind of design you may have. I want you to make this project as you are doing it for
-
00:01:19 your employer. Okay, so do not make it for just passed the course make it for like you
-
00:01:29 are doing it for your employer. Okay. Anyway, let's go.
-
00:01:33 Thing is our course, so I will copy and paste our previous lectures since we will continue
-
00:01:43 from that one. Okay lectures 6 to lecture 7.
-
00:01:50 Okay, and let's open our project. Let's also open SQL Server management Studio because
-
00:02:01 we are using it path.
-
00:02:06 By the way in the project, I don't force you to use C sharp and Ms. S Kwon, you can also
-
00:02:12 use other languages as long as you can you can do the project. Okay, since this project
-
00:02:19 this course is not about c-sharp. It is about Advanced programming therefore. I don't force
-
00:02:27 you to do it in C sharp. Okay. All right, and so
-
00:02:34 Let's start with renaming lectures. It won't rename everything it will only renamed few
-
00:02:43 things, but still better than better than nothing. It won't be named the namespace.
-
00:02:50 For example.
-
00:02:51 It's okay. But since we have composed a new folder, then you will be able to easily access
-
00:02:59 each lecture from our GitHub repository. Okay, let's run the application and quickly remember
-
00:03:07 where we have left if you are remembering we were using
-
00:03:12 And the framework for our database operations you are learning that okay. The application
-
00:03:25 is starting.
-
00:03:27 Also, we have we had designers database which was PMS patient management system.
-
00:03:39 General population is still starting.
-
00:03:46 We have our tables here.
-
00:03:52 Okay, it is taking quite a bit of time in my computer.
-
00:04:03 Okay. Now it's ready. So we had designed a register and I will start with improving our
-
00:04:16 salted hashing. Okay. So, let's see. Where is our salted hashing?
-
00:04:25 function
-
00:04:28 I think it was inside.
-
00:04:32 Okay very much it let's look from our code.
-
00:04:44 Here's inside Global methods. We have its own user password. Okay. See you see we are
-
00:04:52 using static string here. However, the more proper usage would be
-
00:05:04 assigning a random sing to each user. Okay, so I'm going to make a small modification.
-
00:05:15 to this
-
00:05:19 actually, this is also fine because you are you need making it unique with the first name?
-
00:05:29 But yeah, I will I will do something else. Let's say as our string or we can also Define
-
00:05:37 a good idea you want to do that but is G yd.
-
00:05:43 I'll show you.
-
00:05:46 Okay, so what is guid if you wander?
-
00:05:56 Okay, so guid stands for Global unique identifier. It's it is a 128-bit integer 16 bytes there.
-
00:06:10 Are you see so many combinations.
-
00:06:15 And how can be generated it is simple as this one, okay.
-
00:06:21 So let's edit to our code.
-
00:06:25 Where we call this we call it here, so I will also.
-
00:06:33 Add a key to my users. I mean add a column to my users table. It will be used for salting.
-
00:06:43 Okay, let's call it as salt of TV password. And since guid is 16 bytes.
-
00:06:59 it should be always exactly as
-
00:07:02 How many characters let's see it.
-
00:07:08 Okay, so let's make a test. Okay.
-
00:07:15 So in here we are going to object. Okay, you see it is already exists. So
-
00:07:29 string
-
00:07:30 Okay, let's put a breakpoint here. We will get an address from here.
-
00:07:37 Yeah here.
-
00:07:40 So, let's see the red rose.
-
00:07:46 To heal so it will be combination of random string. We don't need this anymore.
-
00:08:00 Okay.
-
00:08:05 So for each user we will be using a unique identifier to Salt their password, which is
-
00:08:15 a we will ensure that none of the user passwords can be decrypted with any hash table.
-
00:08:25 Rainbow table. Okay, so the guid is generated like this.
-
00:08:35 Okay, let's look from here.
-
00:08:41 six, okay 36 characters
-
00:08:56 and they are in constant length.
-
00:08:57 okay, so I think this is the
-
00:09:13 Costa lunch
-
00:09:23 But it says 37.
-
00:09:27 Okay, I see so we can use citrine motet. Okay, we will use the seating method in the string
-
00:09:37 method. It is sufficient. So I will make this as character 36. Okay, since it will only
-
00:09:45 English letters, it's we won't allow of know therefore. I have to delete the entire table
-
00:09:53 to make that change because if you don't delete the
-
00:09:58 then it will throw an error that it cannot insert null value tune on multiple columns
-
00:10:08 there for
-
00:10:10 We delete them if I had a lot nose, then that's save would be possible. But since we want
-
00:10:20 a lot of it won't be.
-
00:10:23 Okay, now that we have modified our table we have to modify our generated code here.
-
00:10:35 You can do it automatically or we can also edit here money and as well, but I think I
-
00:10:44 will use automatic code generation.
-
00:10:49 Okay.
-
00:10:52 Let's see. How will it generate?
-
00:10:57 Or let's manually generate it. I think it should be easy. So we have user password 64
-
00:11:06 characters. Let's see.
-
00:11:09 It has generated like this string length.
-
00:11:14 We've seen why it is actually oh, this is
-
00:11:19 Music EV is yeah. It is here as you can see sitting lines.
-
00:11:28 This way it is done.
-
00:11:34 I wonder if they are is defined anywhere else.
-
00:11:44 I see. We also have to modify here. Yeah. Okay. So let's just auto-generate instead
-
00:11:52 of manually doing it.
-
00:11:56 Okay. So how do we how we were doing it? We would remember also reverse engineers.
-
00:12:03 Okay, and just the rest is by default. We don't touch them.
-
00:12:12 Okay tables we are getting all tables.
-
00:12:16 I'm just clicking. Okay, it should update all of these clusters automatically.
-
00:12:25 And let's see if we have one here as you can see salt of PV is added. I think it is also
-
00:12:37 added here. Let's see. Yes, it is also added here.
-
00:12:46 Okay, and it has required and sitting length 36 characters. Okay. Now we can continue our
-
00:12:55 application programming since we have updated our code to the latest and synchronize it
-
00:13:03 with our database. Okay. So basically this time we will be using random string and user
-
00:13:09 password. However, we have to save this salt in data.
-
00:13:18 As well it will be simply like this.
-
00:13:21 Which is salt of p v will be equal to B are soft. Okay, you can also assign it like this
-
00:13:30 as well so we won't be having extra coat.
-
00:13:39 All right.
-
00:13:44 So that now when we are doing a login we will use this approach. So let's start coding our
-
00:13:53 login.
-
00:13:56 section
-
00:14:00 In your library project. I am expecting you to have salted password as well. Okay, so
-
00:14:08 this was registered in the login, we will use email and password. So let's make this
-
00:14:14 top as login.
-
00:14:18 Okay.
-
00:14:22 And here we are going to have a textbox for login.
-
00:14:27 Bull's eye level why do they use it also make a more appealing user interface design currently.
-
00:14:37 I won't be wasting time spending time for better user interface, but I am expecting
-
00:14:43 better for you. Let's say email.
-
00:14:51 You can easily find better interfaces how to make a better design on the internet.
-
00:14:58 You can use greets. I think I have featured you that in the previous Lemma semester if
-
00:15:07 I remember correctly.
-
00:15:10 Okay txt email and let's remove the text.
-
00:15:21 Or we have already txt email therefore. I will name it as login. Um, okay.
-
00:15:28 XL login email and let's make it a little bit bigger.
-
00:15:38 It's not important anyway, and then we are going to have a password.
-
00:15:46 Okay.
-
00:15:47 For password we are going to add a password box because it increases the security of the
-
00:16:14 application.
-
00:16:20 And let's name it as name it takes it again.
-
00:16:27 A storage and then add login button, okay.
-
00:16:43 looking
-
00:16:46 and
-
00:16:51 you can also add remember passwords future to your application. I think I can also show
-
00:16:57 you that yes, we can use SMTP of Gmail.
-
00:17:04 Or something else. Okay, BTN login and let's add a click event.
-
00:17:17 Okay. So in the click event, what we are going to do is I will also add another class here.
-
00:17:28 So let's add a folder to our classes.
-
00:17:33 Okay. So the first folder will be let's say let's name it as custom classes.
-
00:17:43 You can group them as you want. So I will add this register to here.
-
00:17:51 and
-
00:17:52 okay.
-
00:17:53 And at another class here.
-
00:17:58 As you just login operations.
-
00:18:04 So this will be also a public static.
-
00:18:18 And we are going to Simply use the same approach.
-
00:18:27 Okay.
-
00:18:31 By the way, I am also using a context but before doing context we can do some checks
-
00:18:38 such as if user has entered password email or not.
-
00:18:43 The controls are up to you since I am using Entity framework. It will be automatically
-
00:18:53 secure from SQL injection. And what I'm going to do is I will use finds, okay.
-
00:19:04 and here's Point entity type will be TBR users and it says key value is to find out how do
-
00:19:19 we
-
00:19:20 Unless maybe let's make it like your Stevia users find.
-
00:19:32 Okay, now params object key values values of primary key for the answers to be found.
-
00:19:41 Okay, so maybe we use search or select and select is better. Yeah, and here's select
-
00:19:51 Dot.
-
00:19:53 Okay email will be equal to or verse.
-
00:19:59 It is so late.
-
00:20:04 Okay. Yeah, I think that is better.
-
00:20:11 I don't know if it pulls back difference. Let's check his first.
-
00:20:25 Okay.
-
00:20:34 Okay, so the fight starts by searching local cage where always sends credited. Leave me.
-
00:20:56 I see. So this is the difference you see you should look for differences when you are doing
-
00:21:03 something new.
-
00:21:05 Most of them you do find we just provide the primary key ID, which wouldn't work for us?
-
00:21:14 Okay. So this is what we need.
-
00:21:21 So let's read this answer. I like it.
-
00:21:26 Find has a fundamental difference to wear single first Etc in that it will first search
-
00:21:31 for the object in memory and only hit the database if the object has not already been
-
00:21:35 loaded. Let's try to use find were possible as it offers possible speed benefits of loading
-
00:21:41 from memory find only works with the primary key and doesn't support land has so it is
-
00:21:47 not very flexible.
-
00:21:50 Where is typically used to get a listing of objects to retrieve a single object? I normally
-
00:21:55 use either single singular default first Forester default.
-
00:22:01 Single and single or default differ from first and first order fault as they ensure that
-
00:22:06 a maximum of one object can satisfy the criteria which helps ensure the Integrity of the data
-
00:22:11 in the database. They single Clauses do this by selecting top two in the SQL query and
-
00:22:17 then throwing an exception if two entities are returned.
-
00:22:21 note that you should not change these to the end of the where clause
-
00:22:25 so instead of
-
00:22:27 where s equals s dot ID equals equals 1. First or default use
-
00:22:33 . First or default s equals s dot ID equals equals 1. Okay. So what we need is we will
-
00:22:43 use first or default and let's also do some another search.
-
00:23:08 I see. So this is the approach they have used it. It was also in my mind but I am looking
-
00:23:14 for if there is any special method or approach returning the first element and if it is known
-
00:23:21 or not is the way to do it normally, but maybe there is some other special thing.
-
00:23:29 Okay, anyway, so let's use TBR users first or default by the way, we use first of or
-
00:23:40 default to get if it is not existing. It will return default value, which is moved probably.
-
00:23:53 Okay, and now we are going to write our link you expression PR dot user.
-
00:24:01 mean equal to
-
00:24:03 take the log in the main main that txt.
-
00:24:14 a slogan email and
-
00:24:16 peridots usual PV r equal to okay, and I see so this is not way.
-
00:24:33 You like this?
-
00:24:43 Can we apply the chain?
-
00:24:50 Why this and is not working? Maybe we need double Echo.
-
00:25:02 Oh, I see we have to use text here. You see sometimes I might also get confused and and
-
00:25:13 pull a strange
-
00:25:42 in this case
-
00:25:44 okay, bull predicate minutes and
-
00:25:53 also equal to Global methods return music passwords
-
00:26:01 It's something like this.
-
00:26:06 What do you want we have?
-
00:26:14 Maybe we need to group them like this.
-
00:26:26 Okay what it is not.
-
00:26:46 working
-
00:26:51 Okay, so
-
00:26:55 maybe like this and
-
00:27:08 dance
-
00:27:11 This is work.
-
00:27:21 Okay, so we have figured it out it it requires single ant and here we will be using Global
-
00:27:33 method start.
-
00:27:34 I'm telling you the password. So for this work first, we have to check whether user
-
00:27:43 email exists or not. Okay, so how about how we are going to do it. We are going to do
-
00:27:48 it like this.
-
00:27:50 Okay, we don't need this.
-
00:27:59 And we will call it as we are user email.
-
00:28:06 And then we will continue. Okay. So let's put a breakpoint here and see what happens.
-
00:28:12 We didn't call this method. Okay, so here it will be logging operations.
-
00:28:20 Why we can see it.
-
00:28:28 I know the reason because I have to add this dictionary to using like this using custom.
-
00:28:41 lecture 6 custom classes if you don't add a directory down you may not access it or
-
00:28:49 you know, it is accessible and oh, let's change the name to
-
00:28:59 login try
-
00:29:00 okay.
-
00:29:03 And we will just pass off.
-
00:29:07 Main window reference pocket. So let's go to here and run the application and see if
-
00:29:15 we can find email and what object it returns. You see, I don't know how the
-
00:29:28 first of defaults per store default behaving right now. So I am putting a breakpoint here
-
00:29:35 to debug the application and see what kind of object is returned and then I will continue
-
00:29:42 my coding from that and okay. It says no database provider has been configured. Oh I see and
-
00:29:51 since we have updated our code we have to reset the database provider.
-
00:29:59 And each time you do that you have to do it. Unfortunately, it doesn't put it at a database
-
00:30:03 providers may be from our options we can edit. Let's see you see there were too many options
-
00:30:14 and we didn't look for options.
-
00:30:19 So let's look for it and it was called as
-
00:30:22 eek eek or power tools.
-
00:30:51 It is still patching the database and meanwhile.
-
00:30:58 Okay, we are here's good.
-
00:31:03 Okay tables and maybe here that maybe
-
00:31:08 adoption
-
00:31:12 Okay, you see include connection string in generated code. I think this is what we need
-
00:31:20 to check and see.
-
00:31:26 What happens?
-
00:31:31 Generating code you see on the left bottom of the screen we just need to do is displaying
-
00:31:48 generating code.
-
00:31:56 Okay generators and let's see. Yes. Okay. So it has also added a warning and it says
-
00:32:07 to protect potential sensitive in your information your connections think you should move it
-
00:32:12 out of source code. You can avoid scaffolding the connection string by using the name syntax
-
00:32:18 trees from and such so I will just comment this out.
-
00:32:23 And now our code is added.
-
00:32:38 Okay.
-
00:32:42 Okay, let's first registers for contest test at gmail.com one and one it doesn't matter
-
00:32:54 since we will be hashing our password.
-
00:32:58 By the way, let's look at our hash and how it works.
-
00:33:03 I am putting a breakpoint here as well and user type will be patients register. Okay.
-
00:33:11 So our password is one random string is for Contour. Okay, so we didn't fix it as first
-
00:33:17 fix it in here you see how it is important to?
-
00:33:23 Debug and check test your application. So I will be passing password instead of the
-
00:33:34 south of password instead of the users first name
-
00:33:43 Okay. So the first thing we'll be focused on because you can email test at Stevia comb
-
00:34:02 but and one even as insecure as this password becomes extreme secure when you salt your
-
00:34:11 passwords register, and now our salt is here as you can see and then when we return the
-
00:34:22 Hashi.
-
00:34:23 password
-
00:34:24 becomes like this. So This password will not be existing in any of the rainbow tables.
-
00:34:33 Therefore there is no possible way for hackers to know this passport without brute-forcing.
-
00:34:40 Of course, they can Brute Force once they fully obtain our
-
00:34:49 Database however, it will take extreme extreme amount of times and let's see. Yes. So this
-
00:34:59 is The Salted password and this is our South. Okay.
-
00:35:05 So let's go to our login now and at the login we will check email.
-
00:35:11 And password, but we don't check the password yet. So first we are going to find if this
-
00:35:20 email exists or not.
-
00:35:21 And it has returned an object. It has returned to object or the user as you can see full
-
00:35:29 values or icv. Don't make me don't have to make another check.
-
00:35:34 It's a simple actually.
-
00:35:39 Okay, so if we are using email equal to Nu okay, I think what else can it be?
-
00:35:51 It can be. Yeah, it's exciting news with work.
-
00:35:59 We will put a message message box for main that.
-
00:36:08 No.
-
00:36:09 I'm not sure message box show by using message box. We have to add a reference.
-
00:36:21 Using storm windows and show no such user is formed. Okay, and then we will return.
-
00:36:33 Okay.
-
00:36:35 Let's say errors such as and then we will check the password. If it is correct or not
-
00:36:44 how we are going to do that you are going to do it simply like this. We are using email
-
00:36:51 password if it is equal to
-
00:36:53 Okay, Global methods return user password and it will take main dot txt login password
-
00:37:06 thoughts.
-
00:37:07 first 4 to 6 inch
-
00:37:12 and then it will take the random string which is in our object right now, which is the sort
-
00:37:20 of password and if they are equal it will log in. Otherwise, it will return a nose like
-
00:37:29 this and how we are going to do that.
-
00:37:35 I have to
-
00:37:37 make it like this object. If this is not equal and Roars the password as fourth is not matching
-
00:37:55 or let's say the password is incorrect.
-
00:37:59 The entered password is incorrect. By the way. You also have to keep logging try in
-
00:38:10 database.
-
00:38:12 Collins and then if users frequently tries incorrect password, you have to block them.
-
00:38:20 Okay. Otherwise, they can try log into your system with brute force and point a lot of
-
00:38:29 people passwords. So it is another precaution that you have to take. Let's also take that
-
00:38:38 as well.
-
00:38:39 So to it we are going to add another table.
-
00:38:47 Let's see. I will take a pause.
-
00:38:56 Okay. So what we're going to do is we are going to check how many times a user has try
-
00:39:05 to log into the system by the way, normally this would be
-
00:39:12 check it with the registering IP of the user. Okay?
-
00:39:21 Because in an online system every user has an IP there for you. I will just illustrate
-
00:39:29 the system with
-
00:39:34 giving manual IP
-
00:39:38 So which columns we are going to have to check number of log Enterprise?
-
00:39:46 We are going to allow a user to try logging in with five times in 15 minutes. Therefore.
-
00:39:59 Let's say
-
00:40:00 Jets right IP
-
00:40:05 and it will be
-
00:40:08 same as here.
-
00:40:13 So far character 16 not null then there will be a date of try of try.
-
00:40:27 And it will be a daytime and combination of these two will be.
-
00:40:33 A primary key. Okay. Let's see.
-
00:40:42 Katie via login, right? Okay.
-
00:40:49 Now we will also include this to our code.
-
00:40:53 Let's really reverse engineering our table again.
-
00:41:01 So you see now it's not picket checking it.
-
00:41:09 Including stink and everything.
-
00:41:12 Okay, it is not so in here if users answers and incorrect password. We are going to add
-
00:41:22 a record to the database. So I'm going to define a static IP a constant IP here.
-
00:41:34 Or let's say it should be used based. So let's add a method here.
-
00:41:47 return users IP
-
00:41:51 Normally, we would get IP of the connecting users with framework. We are using for example
-
00:42:08 in asp.net.
-
00:42:09 Get user IP.
-
00:42:13 But currently we don't have that. We don't have anything to simulate that normally it
-
00:42:22 is something like okay this
-
00:42:27 in C sharp
-
00:42:28 Okay, it is something like this. You see we had some references whatever. However in this
-
00:42:36 case, since we are not server-based application. I will just return something for illustration.
-
00:42:43 Let's say
-
00:42:44 Somebody typing let's return this and we can also use coal of this method into a register
-
00:42:57 operation as well.
-
00:43:00 Okay, and in the login, we will also get that IP and check whether that IP has five try
-
00:43:13 or not how we are going to check that?
-
00:43:19 We are going to check it something like this.
-
00:43:25 Test results equal to context TV. I login try.
-
00:43:33 And we need to select count. Okay, so we are going to do select.
-
00:43:41 Okay verse select dots or where we can use that as well. But PR dots tried IP equal to
-
00:43:51 Global metal starts return user IP, and we need another rule which is and okay, by the
-
00:44:03 way, this is equally cool.
-
00:44:07 Actually, we don't even need that we would wish you should be S and P are dots date of
-
00:44:18 try. Okay, now we can add time frame. So we are going to check last 15 minutes. Therefore
-
00:44:28 I am going to add.
-
00:44:30 Minutes 15 bigger than they time UTC now so why I am using UTC now because this type this
-
00:44:44 way I am globalizing my server date. You can also use local time. Whatever the time you
-
00:44:50 are using actually that's also
-
00:44:58 Make it more.
-
00:45:04 More Global in our application what I mean is in our Global methods, I will add another
-
00:45:18 method here.
-
00:45:21 public static daytime
-
00:45:24 Return server time. Okay. So this way I will have constant time everywhere. It will just
-
00:45:36 return date time UTC now, okay, I will call this here.
-
00:45:46 Global Meadows return service time. Okay. So with this approach we are going to find
-
00:45:55 IP records Vash. They are made within the last 15.
-
00:46:06 Melissa and I just need to count actually.
-
00:46:11 And how can we calculate the account?
-
00:46:15 Maybe like this. Yeah. So if this card is bigger than 5 if you test results figures
-
00:46:26 the five.
-
00:46:27 Or bigger or equal to 5. Okay. We are going to shove a message you have error you have
-
00:46:41 so many times try to login within 15 minutes. Try again later. Okay, and if incorrect password
-
00:46:57 happens that we have
-
00:46:58 Have other records to our login try and how we going to do that. They're going to do it
-
00:47:05 as
-
00:47:07 At and now it's will be expecting a log entry entity. So he will login try temp right equal
-
00:47:18 to new login. Try and tempt ride that tried IP will be equal to
-
00:47:29 Global methods return user IP temps, right right IP will be equal to try today.
-
00:47:38 date of tribe will be equal to Global metals that
-
00:47:42 return servers time and we will just edit like this.
-
00:47:50 And then we will say.
-
00:47:52 It is in save changes, okay?
-
00:48:02 And then we would return all right.
-
00:48:07 Yeah, let's see how our application works. By the way. You can also look for the queries
-
00:48:16 that they are being executed from as you know more providers. Let's refresh our tables and
-
00:48:24 see our login try.
-
00:48:32 I also have a debug to see if our application working fine or not. So let's try login a
-
00:48:43 By the way, that doesn't exist.
-
00:48:47 Okay IP result is 0 and now it will check user email since it doesn't exist. It will
-
00:48:55 adjust return by the way. You can also look for invalid emails try if you want to because
-
00:49:04 with that way they may scan existing user emails, so it would make sense to
-
00:49:12 I looked at as well. So let's make this into a method here.
-
00:49:21 Okay increase login.
-
00:49:26 try
-
00:49:29 and we also need to add this to hear as well.
-
00:49:37 Okay. Yeah private perfect for it. Okay.
-
00:49:45 He will just call this.
-
00:49:49 here
-
00:49:52 and here
-
00:49:53 alright, let's let's try.
-
00:50:05 We can also look for the queries that are being executed. Let's also look for them as
-
00:50:09 well. Let's close this page.
-
00:50:20 Okay, and the profilers I will just open tunic.
-
00:50:28 Okay, and let's see which kind of plays are being executed a a login. Okay. So let's see
-
00:50:36 the queries so it opens connection. It's select counts start means selecting everything - it
-
00:50:48 is checking it with like this.
-
00:50:52 And here's this is the credit is executing. I would execute this different about probably
-
00:50:59 it is the way of executing in Entity Framework.
-
00:51:05 And then it is checking email like here.
-
00:51:15 Then it is inserting into TV a login try as you can see here.
-
00:51:19 Okay.
-
00:51:20 These are automatic queries down by because of SQL Server. You see inserting the values.
-
00:51:30 Okay, and these are the values. Let's also execute. Okay, as you can see it is here.
-
00:51:37 Okay. No search error found no. No each time. It will add another record.
-
00:51:45 No, and now that we have five, okay. Now we have five it should give me an error. Okay
-
00:51:55 error. You have so many times right login within 15 minutes. Try again.
-
00:52:02 Now we have errors as you can see another record edit.
-
00:52:09 And okay each time. You are getting another record.
-
00:52:16 Because we are also increasing log into right here when it is try it.
-
00:52:22 We are forcing.
-
00:52:27 Hector or the person with
-
00:52:30 Malicious intentions. However, this is also bad because this table may get fill it up
-
00:52:43 pretty quickly a lot of extra unnecessary space so you should not increase log into
-
00:52:50 right here. Okay, it is a bad practice and Justice because here they are doing nothing
-
00:52:57 simply. They cannot do anything.
-
00:53:00 Okay. Now let's change your IP.
-
00:53:07 and
-
00:53:08 where it is? Yeah, let's add another.
-
00:53:13 Link here and okay. Now we are going to check our password. You see when we are checking
-
00:53:21 password. You will check it with the Salted method key get guid and if everything is fine,
-
00:53:33 we will look in the users how we are going to do that.
-
00:53:39 so in our Global methods
-
00:53:42 Or let's add Global variables or login variables. Whatever we want. Let's add a login variables
-
00:53:50 class. Okay, actually we can edit in to log in operations. So here let's add some variables
-
00:53:59 public static bull.
-
00:54:04 Is users Bogut you divide default false?
-
00:54:13 And then we can keep the users logged in user details in the memory. How about that may
-
00:54:24 be somewhat.
-
00:54:28 that may be
-
00:54:30 Dangerous, I'm going to do something else public static.
-
00:54:39 Okay, so since we will allow on the single user to below get in a desk at the same time
-
00:54:46 in our application. Let's make it as
-
00:54:49 uses yeah, let's say
-
00:54:59 look at users.
-
00:55:02 Okay, it will be by default a moment.
-
00:55:07 By default. No, okay, and if login is successful.
-
00:55:16 Here we are going to assign it to your user email. Okay, once when I assign it to this
-
00:55:24 one to this one after even this using clouds, it won't get destroyed because since this
-
00:55:32 is being referenced to this one, it will be kept by the garbage collector.
-
00:55:40 and however, I also need to delete some monies so that it won't remain in the
-
00:55:47 RAM memory so how can we delete them? Let's say it. Come on.
-
00:55:58 So what other sensitive information we may have actually this is also not sensitive.
-
00:56:05 Yeah, I think I can maybe salt.
-
00:56:11 I don't know if it is up to you can nullify the sensitive information.
-
00:56:21 So they won't remain in RAM memory.
-
00:56:26 Okay. Now we also have the local users.
-
00:56:31 And we can update or display some information on our main window as local user. So I'm going
-
00:56:39 to pull this down a little bit like this and then I am going to add a label to here.
-
00:56:53 Okay, I will display here some information. What kind of information I will display I
-
00:57:01 will show you in a moment.
-
00:57:05 Okay. Okay, let's add.
-
00:57:10 Let's make it like here. Okay and name Libya.
-
00:57:22 Login status. Okay. So this login status will be updated each seconds.
-
00:57:28 And we'll do that what I need to update that label each second. I need a timer Okay, so
-
00:57:42 Let's add a vpf timers to our project.
-
00:57:47 and four times what we were using we were using
-
00:57:51 dispatchers timers so
-
00:57:59 I will add it to Global metals and here of the voids starts time much less a start.
-
00:58:17 info operations
-
00:58:19 okay, and it will start the dispatcher and for to be able to use this passage we need
-
00:58:29 to add using stamped reading and
-
00:58:33 Oh, I see.
-
00:58:37 This is not a connecting. Here you the collecting?
-
00:58:43 Okay, it has it is using Pulpit but since we have added the reference, we don't need
-
00:58:56 anymore.
-
00:58:57 And now we need the special time with take for this new event handler. You can also do
-
00:59:02 it something like this. Let me show you.
-
00:59:07 Okay, it didn't automatically.
-
00:59:11 started
-
00:59:12 composite actually, let's copy and paste it or not. So this will be private void.
-
00:59:24 Okay update neighbor.
-
00:59:28 And only say update.
-
00:59:33 I'm static void.
-
00:59:37 update info labeled
-
00:59:42 And here I will add another thing to keep logging time. Actually, I can keep it inside
-
00:59:50 logging operations as well. I will static date time DT login fine.
-
01:00:03 On okay. Not not keep it here. I think I will keep.
-
01:00:08 Yeah, I think you with years so looking time.
-
01:00:15 Log In Time equal to nothing, I will just send it here.
-
01:00:23 Okay, so is usually look at in equal to row.
-
01:00:36 Actually, we don't even need to keep this variable because since we are keeping this
-
01:00:44 one we can keep it.
-
01:00:48 Okay, we have Logan time. So let's set the log in time as well equal to the time or server
-
01:00:57 time. Okay. Okay Global Metals get server time.
-
01:01:04 Okay, and then
-
01:01:10 I wonder if we can't define an extension to daytime.
-
01:01:16 so
-
01:01:17 Let's try that. Okay public static daytime.
-
01:01:22 Let's make it nasty start State time.
-
01:01:35 GG
-
01:01:38 And now instead of that.
-
01:01:52 Okay, what is off?
-
01:01:58 Logan operations and now daytime
-
01:02:14 Okay.
-
01:02:18 Extension is subtracted for it is some thing different somewhat different.
-
01:02:37 Okay.
-
01:02:41 Okay, so it is written like this. Okay, so let's change this.
-
01:02:53 Into public static data. Okay. So this is the way of defining daytime extension struct
-
01:03:04 extension.
-
01:03:07 Since they storm is a stroke.
-
01:03:14 and it will just returned a Time UTC now Okay, so
-
01:03:20 This is the get method as you can see.
-
01:03:24 All right. Now whenever we have okay now I can use S so good time.
-
01:03:35 Or it is not working.
-
01:03:43 Bedtime have an hour. Oh I see.
-
01:03:57 Why I can't use something like this. It's still not extending the official struck the
-
01:04:19 time.
-
01:04:27 Mystique
-
01:04:35 It is another stretch here extending daytime. How do we do that?
-
01:04:57 okay, namespace utilities
-
01:05:03 It is the same actually. Oh, I see.
-
01:05:07 All this was somewhat different.
-
01:05:10 Why it returns integers?
-
01:05:12 And little okay. They come here TC now.
-
01:05:33 Okay.
-
01:05:36 Okay, let's try this way.
-
01:05:51 Why I can't see it.
-
01:06:06 best ink
-
01:06:12 Then old returning integers.
-
01:06:27 I see using Italy teams.
-
01:06:36 So maybe we need to
-
01:06:50 Maybe we need to do something like this.
-
01:06:53 Okay, this is this is really weird. This is private. It should be public.
-
01:07:24 And now let's retry.
-
01:07:43 I wonder if this is necessary daytime extensions.
-
01:07:55 I see.
-
01:07:58 so only way looks like we need to have our
-
01:08:05 custom
-
01:08:06 class and let's write it here, but the class data and help push.
-
01:08:20 And it will be daytime servers fine. Okay. So this looks like the only way so they time
-
01:08:29 UTC now.
-
01:08:31 Like this. Yeah. This is looks like the only way so instead of daytime. We will use daytime
-
01:08:38 helper server time.
-
01:08:40 All right, it will be same here.
-
01:08:44 And it will be saying here as well. Okay? Okay, and now we are keeping the login date
-
01:08:56 as well and in our Global methods in our dispatchers, so it will start with every second.
-
01:09:13 Like he has interval and what it is going to do is it will check first logged in or
-
01:09:19 not and how it is going to check it will check it with login operations. However, it is not
-
01:09:28 available here. So let's edit using lecture 6 dots custom classes.
-
01:09:35 Okay, logging operations that look at in music if it is null that means that we are off to
-
01:09:48 college and I say we are not located in. I also need to be able to access.
-
01:09:58 main window of Darfur
-
01:10:02 I need to use this public man.
-
01:10:09 Okay, actually I will assign this to here.
-
01:10:16 Two Global variables Global methods. Let's define it here.
-
01:10:27 And on here we are going to use global.
-
01:10:30 That's man equal to this. Yes.
-
01:10:36 Alright, and I'm Global methods.
-
01:10:41 We also need to call this let's call this in.
-
01:10:54 Okay.
-
01:10:59 And in our Global methods, okay, what we're going to do is we are going to do dispatcher
-
01:11:07 begin.
-
01:11:08 Or let's say main dots make sure that being invoke or label we can do that. I like to
-
01:11:16 say that as well.
-
01:11:18 Maybe I'll login status especially being in invoke.
-
01:11:26 Okay.
-
01:11:27 sounds like
-
01:11:30 I don't exactly remember the sign text, but we will yeah, this is voltage noise and by
-
01:11:36 in that League login status that content will be equal to something. Okay, not low boots
-
01:11:45 in. Okay application.
-
01:11:50 long time
-
01:11:51 okay for application run time. I also need another date. Let's keep it here.
-
01:12:05 Okay, private static. Okay up daytime and up eight or up runs date. Yeah point it will
-
01:12:20 be daytime help push that server time.
-
01:12:25 and he will call calculated on time as
-
01:12:30 okay, daytime helpers dots
-
01:12:36 so overtime - okay update.
-
01:12:43 We will just display the total second Sears and zero plus.
-
01:12:53 Seconds however seconds whatever the seconds it is.
-
01:12:58 All right, and just return if user is logged in hours.
-
01:13:10 Message could be different and that time let's say logo to users.
-
01:13:15 Gogoat user is
-
01:13:17 let's use our
-
01:13:20 Format, so it will be from logging operations dots look at user darts. Okay. So the first
-
01:13:33 name of the users
-
01:13:38 and then the
-
01:13:42 So name last name? Yeah and session time this time I believe session time.
-
01:13:58 ation learn by and
-
01:14:03 It will be.
-
01:14:09 okay session runtime will be equal to we will use login date is inside logging operations
-
01:14:19 DOT log in time by the way, we have
-
01:14:27 Yeah, he's supposed to be here.
-
01:14:30 It's going to be the time that service time.
-
01:14:41 And let's run our application to see if our code is working as expected or not.
-
01:14:51 Okay.
-
01:14:56 Okay, you see not logged in application long time.
-
01:15:13 Is getting updated each seconds if application pleases this may also please okay. So let's
-
01:15:24 register and then try to login together first.
-
01:15:28 Let's compose an account.
-
01:15:32 It made me dance for combat test.
-
01:15:39 Okay user has been registered. We are still not loaded in. Let's try an incorrect password
-
01:15:51 forgotten that okay.
-
01:15:54 From what was Josh?
-
01:15:58 email
-
01:15:59 Yeah, and I will try a different password. Okay are on the enter. The password is incorrect.
-
01:16:09 And he should also see that in logging try with our new IP here. Let's answer our correct
-
01:16:17 password.
-
01:16:18 Okay. Now we see local user who can Google conversation runtime five seconds. Of course,
-
01:16:25 we should disable login and enabled exit buttons. Also we should disable register as well. It
-
01:16:33 is totally up to you too. Currently, we are displaying everything fine. This is getting
-
01:16:40 updated each second.
-
01:16:45 Okay and after login?
-
01:16:48 After login we can display. I love it in message and disabled that half.
-
01:16:56 How can we do that? So?
-
01:17:01 Let's go to our tops.
-
01:17:06 Okay. So top had a login. I also need to give a name as of login.
-
01:17:18 and here's
-
01:17:21 Okay name or not? This one? This one is just stir and after the login operation.
-
01:17:33 Which is here.
-
01:17:37 Okay, we're going to top login. Okay top Logan is in main top again enable. Let's or is enabled.
-
01:17:55 Bulls by the way, you should also make this a method actually so
-
01:18:03 but let's just say for now.
-
01:18:10 top register
-
01:18:13 and making this method is better because when you add a logo at bottom, you can just call
-
01:18:24 that method so I will just make this impossible. Yes. That's the better think so in global
-
01:18:30 methods.
-
01:18:32 Yes, let's write a method public static void and change login status here. It is. Just
-
01:18:46 going to set oposite off.
-
01:18:49 Okay opposite of the enabled.
-
01:18:59 Oh, you see I am getting error because this is not inside parent class. You see you cannot
-
01:19:14 write methods outside of classes. Every method is written inside a class in C sharp. So changelog
-
01:19:24 institutes and here I am going to Simply use like this.
-
01:19:30 So this will just change whether it's enabled or not.
-
01:19:38 And I will call this inside logging operations Global operating methods change login status.
-
01:19:47 Okay here and let's show a message show.
-
01:19:53 Login is successful.
-
01:19:58 Or you have successfully logged in?
-
01:20:03 Okay, let's start again. So when I add and logout button now, I can just call that method,
-
01:20:19 okay?
-
01:20:20 Therefore I will have better control better efficiency.
-
01:20:28 and lesser Court Lessard optic duplicate code
-
01:20:32 Okay, you have successfully logged in now. These are disabled if I had a low good top
-
01:20:44 here. I would just go to that. I should also delete this values from text boxes.
-
01:20:56 Okay.
-
01:20:57 Okay. So let's also add log out button which will appear after logo tin.
-
01:21:07 So here our status.
-
01:21:11 Let's make it this size and add a log out button here.
-
01:21:41 Last name with us smoke.
-
01:21:53 and
-
01:21:54 what?
-
01:21:55 Okay.
-
01:21:56 and
-
01:21:57 This was simply do pretty easy thing, but let's edit also here.
-
01:22:06 public static void
-
01:22:10 why it's a log out.
-
01:22:15 Unless you try no guards.
-
01:22:23 and
-
01:22:26 you see I can also pass parameter like this or I can use the reference in in the global
-
01:22:34 methods.
-
01:22:36 So what this is going to do is simply it will notify this logo to users we could know and
-
01:22:47 it will change login status. Okay? Okay change login status.
-
01:22:55 And you have a message.
-
01:23:00 Okay, you have successfully logged bit out. All right, and then there is one thing we
-
01:23:13 one more thing that we have to do which is
-
01:23:16 when we do start operations
-
01:23:22 we are going to
-
01:23:28 make this but invisible okay main that Beatty and logos visibility equal force.
-
01:23:38 And by the way this invisible
-
01:23:41 System not visible to hit them. We are going to the going to change visibility. Okay, how
-
01:23:50 we are going to do that? I mean we're going to do that. We are going to do it in change
-
01:23:55 login status as equal to opposite of visibility.
-
01:24:01 Oh we can't do it. So what we need to do is we are going to do a switch.
-
01:24:13 visibility and it has automatically generated test codes if it is visible, we will send
-
01:24:20 it as
-
01:24:23 hidden if it is invisible hidden, we will send it as
-
01:24:31 Visible and others filled can remain they don't matter. Okay, let's run the application
-
01:24:39 and see if it is working or not.
-
01:24:44 Okay.
-
01:24:48 Okay, let's try a some incorrect login. It says not Palms.
-
01:25:08 Let's try a different password incorrect. That's the correct password. Yes. Okay, we
-
01:25:15 have successful Market in and the logout button has appeared here. This message is also correct
-
01:25:23 and when I tried log out click logout
-
01:25:28 Nothing happens because we didn't call our method.
-
01:25:32 What I mean is here we are supposed to call logging operations that know God.
-
01:25:39 So I log out. Okay, and
-
01:25:46 let's Okay, one second.
-
01:25:52 So let's change this like
-
01:25:56 Yes, I did the biggest and this animal left. Okay at the beginning log out button should
-
01:26:08 be invisible because we didn't login yet.
-
01:26:15 Yes, it is invisible.
-
01:26:23 And let's login.
-
01:26:30 Okay, now it is visible and when I look out we have logo that you see this message also
-
01:26:38 changes and these become available. Okay, watch me. I log in this becomes on clickable.
-
01:26:46 They are not enabled this becomes visible logout button becomes visible and this session
-
01:26:54 is restarting.
-
01:26:57 and when I log out
-
01:27:00 You see it returns back to application runtime register and login becomes available again
-
01:27:05 enables again. I can log it again. So our login system is fully functional right now.
-
01:27:15 All right, everything is working perfectly fine at the moment. However, you see we are
-
01:27:24 embedding our table names as well into our application code.
-
01:27:32 and this may cause some system vulnerabilities, but I don't know if they are the better approach
-
01:27:47 would be using server site apis to
-
01:27:57 Please do online operations server site operations.
-
01:28:04 However, currently we are just
-
01:28:07 learning how it is done. We are also taking every precaution that we can take.
-
01:28:17 and but also if this was an application that is connecting with a remote server we can
-
01:28:28 never add our
-
01:28:36 connections think into our application
-
01:28:40 Because this thing can be easily found from our exit. Do you know how let me show you
-
01:28:48 that as well, but before doing that, let's take a note of what we have seen in these
-
01:28:57 lectures.
-
01:29:04 in lecture
-
01:29:05 seventh
-
01:29:07 Okay what we have seen so far, so let's look.
-
01:29:21 Okay, we have a we have used it. Let's start from the beginning how to properly salt user
-
01:29:37 password with you guid. So, how is this?
-
01:29:47 reach
-
01:29:48 Globally, unique identifier is the weather explanation.
-
01:29:59 guid
-
01:30:02 what is guid and how to
-
01:30:14 probably sought user password with guid and
-
01:30:20 okay.
-
01:30:23 Okay how to develop proper login system?
-
01:30:34 of to keep logos in user information in the RAM memory
-
01:30:45 Okay how to enable disabled?
-
01:30:53 tops objects unless a tops how to change visibility of
-
01:31:09 elements such as bottom Stacia botnet
-
01:31:21 Okay.
-
01:31:23 And what does the displayed okay how to do creative how to do log in or log inquiries?
-
01:31:40 and on the same Beach
-
01:31:45 Entity Framework
-
01:31:47 such as checking if user exists and it password is correct.
-
01:31:59 how to
-
01:32:00 implement
-
01:32:01 security Logan try system
-
01:32:04 Okay how to properly implement?
-
01:32:10 I love the design table and he's like
-
01:32:28 Okay, how to update and today?
-
01:32:40 classes
-
01:32:42 with including
-
01:32:48 Okay, database connection string in that net core application or project.
-
01:33:19 Okay.
-
01:33:22 Okay.
-
01:33:24 Okay.
-
01:33:27 alt existence
-
01:33:33 Yeah.
-
01:33:35 Okay.
-
01:33:38 Okay, so
-
01:33:44 By the way, do you know why I have used this picture begin in work because this is a soft
-
01:33:51 wet. Okay, therefore it cannot access elements of main threat directly. Therefore. I have
-
01:33:59 to use dispatcher begin invoke and okay how to how to use the special time and in.net.
-
01:34:10 Okay call the EPF of decay.
-
01:34:14 ation, as a timer how to access main window elements UI elements
-
01:34:30 Let's solve that sweet.
-
01:34:33 Okay this patient we can invoke.
-
01:34:41 and
-
01:34:42 what else there is?
-
01:34:49 Let's remove these PMS power back up. So I will just re-edit.
-
01:35:03 Janice clothing as well
-
01:35:08 Let's take a backup.
-
01:35:14 Let's delete the old pickup.
-
01:35:19 Yeah, see.
-
01:35:22 DB
-
01:35:23 I will delete this and if I stop
-
01:35:34 okay, let's add it to our project.
-
01:35:42 Okay. Yeah, I was going to
-
01:35:53 read this to you.
-
01:36:07 And let's see here.
-
01:36:10 What is a grid?
-
01:36:12 A grid is an acronym that stands for globally unique identifier. They are also referred
-
01:36:17 to as uuids or universally unique identifiers. There is no real difference between the two
-
01:36:23 technically they are 128-bit unique reference numbers used in Computing which are highly
-
01:36:28 unlikely to repeat when generated despite there being no Central grid Authority's to
-
01:36:32 ensure uniqueness.
-
01:36:35 What does a grid look like a grid follows a specific structure defined in RFC 4122 and
-
01:36:42 come in a few different versions and variants all variants follow the same structure xxxxx
-
01:36:48 xxxxx xxxxx xxxxx xxxxx xxxxx where M represents the version and the most significant bits
-
01:36:58 of in represent the variant.
-
01:37:00 How unique is unique.
-
01:37:02 A grid is a unique number that can be used as an identifier for anything in the universe.
-
01:37:08 But unlike ISBN, there is no Central Authority the uniqueness of a grid relies on the algorithm
-
01:37:13 that was used to generate it will look at the types of Gibbs later, but assuming a randomly
-
01:37:19 generated, could you have about the same chance of getting hit by a meteorite in a year as
-
01:37:22 getting a collision in 10 to 30 trillion kids? Okay. So it is it printed on them? Okay, and
-
01:37:32 Are there anything else that we should not?
-
01:37:39 Okay, I think this is pretty enough for today. I am going to also add another rule.
-
01:37:51 You're sure.
-
01:37:57 project
-
01:37:59 and I think I have noticed here.
-
01:38:05 also
-
01:38:06 I say
-
01:38:42 or password rules for expansion
-
01:38:53 chn
-
01:39:04 okay, let me upload this into our GitHub repository as well.
-
01:40:01 by the way, if you are even if you are not taking my
-
01:40:06 courses, you can still join our Discord Channel and ask me questions. It is totally fine.
-
01:40:19 And
-
01:40:21 there were there were recently person joined our discourse Channel and ask me questions,
-
01:40:30 even though he was or her was not one of our student.
-
01:40:38 And it made me happy. So it is a hundred percent fine. Okay, let's also upload our today's
-
01:40:48 source code. And yeah. If you have any questions, please ask me me or your head of students.
-
01:41:03 Help you.
-
01:41:11 I also started adding Google Cloud generated subtitles system subtitles for our videos
-
01:41:20 and you can also use our videos use of substance now.
-
01:41:28 can lecture seven and semester project porch
-
01:41:46 Okay.
-
01:41:50 I think I might also make an SMS announcements tomorrow.
-
01:41:59 Okay, and yes, I have prepared both thirtyish and English version of the project since you
-
01:42:10 are still a first-year student, but of course in the following years, I would also all I've
-
01:42:17 only make project details in English. So you better get your English improved.
-
01:42:26 Okay. If you have any questions related to the project or the courses or the lectures,
-
01:42:33 please contact me from our score Channel and end of lecture. Hopefully see you.
