Randall Degges - Everything You Ever Wanted to Know About Web Authentication in Node

  Рет қаралды 38,666

The Nodejs Meetup

The Nodejs Meetup

Күн бұрын

Пікірлер: 66
@eassame
@eassame 3 жыл бұрын
I wish this guy had a lecture series!
@williamheckman4597
@williamheckman4597 6 жыл бұрын
Hands down one of the best tutorials and breakdown of Secure Authentication on the Internet.
@chirag3409
@chirag3409 4 жыл бұрын
whos here from colts udemy course......hit like
@dddanielsr
@dddanielsr 4 жыл бұрын
trying to finish the course while in the quarantine
@chirag3409
@chirag3409 4 жыл бұрын
@@dddanielsr same bro...where are you from?
@rozneg
@rozneg 4 жыл бұрын
@@dddanielsr same :) and it turned out I've learnt a lot with this video. What about you guys?
@dddanielsr
@dddanielsr 4 жыл бұрын
@@chirag3409 I'm from Ecuador bro!
@dddanielsr
@dddanielsr 4 жыл бұрын
@@rozneg this video is gold
@johnn4314
@johnn4314 5 жыл бұрын
why aren't there more talks like this. Incredibly good and clear
@antoniodevcodes
@antoniodevcodes 2 жыл бұрын
Very useful presentation, it clarifies a few things that puzzled me regarding authentication. On a sidenote, do NOT use the "client-sessions" package he mentions. It's currently abandoned and not maintained. It hasn't been updated in five years and it seems there's nobody there to accept pull requests. You can check the NPM and Github pages for confirmation of this. I'm not sure what a good replacement for that package would be.
@akki100boyz
@akki100boyz 6 жыл бұрын
this man is legend..he helped me a lot to understand website authentication very easily without using so many libraries
@omenakaemmanuel4658
@omenakaemmanuel4658 2 жыл бұрын
Wow ... Such an amazing lecture. All the discussed concept including node, express, servers and especially authentication were explained in a clear and simple manner. Thank you so much sir, now I have a clear picture of where I am headed as far as web authentication is concerned.
@alexpeirson4278
@alexpeirson4278 4 жыл бұрын
Came from Colt's Udemy course - great video. Really great at explaining the concept in a relaxed easy to follow manner. Thank you!
@plabonkumersarker
@plabonkumersarker 3 жыл бұрын
Me too
@gunesaydin
@gunesaydin 6 жыл бұрын
Wonderful tutorial! I'm one of those people that has to understand the inner logic of something to learn it properly, and I can easily say I am overly satisfied with this lecture. Thanks a lot!
@RaGa_BABA
@RaGa_BABA 4 жыл бұрын
It was really like a fantasy movie...i feel sorry for any newbie who didn't watch it...its gold video in layman terms
@PRATIK1900
@PRATIK1900 4 жыл бұрын
This was great, and interesting to learn, and going back to Colt Steele's course, now I have to do all authentication using a library (passport) where I don't even understand the underlying logic behind the lines of code (from how it is explained in the course). I guess I'll just have to go through passport docs in detail and try to draw parallels between those explanations and what was taught here by Randall, to connect the dots. Then there is the fact that the authentication used under the hood in passport is probably different from what Randall used. Sigh. PS: I know that I have to use a library and that not using one is dangerous, especially as a complete beginner.
@Anton-pz6kd
@Anton-pz6kd 4 жыл бұрын
Amazing talk. great presentation skill and going through very casually on a topic that is considerd 'hard' for many. Thank you!
@Pirsanth17
@Pirsanth17 6 жыл бұрын
23:36 I love this guy he speaks the way I used to when I was younger. If I did not get a corporate job I would still have sounded like him tbh.
@anikettyagi7057
@anikettyagi7057 5 жыл бұрын
This guy is the best. The way he explained. MY GOD!!!
@johnn4314
@johnn4314 5 жыл бұрын
Quality teacher right here.. I couldn't find a good explanation like this elsewhere. I can log my req.session.userId, but the response header is not being set. I have sessions middleware configured the same and my login findOne method returns a valid user, but still no response header. I'll update if I find out why not. I can access the dashboard despite the check for req.session.userId, which means that I do have a session.But It's not showing any res header. My raw header from my POST to login looks like this: HTTP/1.1 302 Found X-Powered-By: Express Location: /dashboard Vary: Accept Content-Type: text/html; charset=utf-8 Content-Length: 64 Date: Tue, 19 Mar 2019 16:19:54 GMT Connection: keep-alive I dont see set cookie or anything like that. I'm wondering if something is hiding the information?
@danielkaczmarczyk2482
@danielkaczmarczyk2482 6 жыл бұрын
Superb content & a great delivery - props to the speaker!
@codatrainer3988
@codatrainer3988 4 жыл бұрын
Great discussion on Authentication.
@lilianaramonaparaschiv8497
@lilianaramonaparaschiv8497 4 жыл бұрын
Hello guys, I have this ERROR after I wrote the app structure: Unexpected block vars. Any idea?
@themathguy314
@themathguy314 3 жыл бұрын
Should I hash passwords from frontend before sending to server?
@softwarelivre2389
@softwarelivre2389 2 жыл бұрын
Yes. But you must always hash them again in the server, otherwise the hash becames the password and an attacker with database access can just use that.
@saurabh75prakash
@saurabh75prakash 6 жыл бұрын
Thanks Randall, you are inspiration to many like me.
@AyushKumar-yk9fw
@AyushKumar-yk9fw 4 жыл бұрын
EXCELLENT EXPLANATION!
@tumelogill9218
@tumelogill9218 4 жыл бұрын
Is there a reason why the Login form data is visible on the headers tab (see when Randall shows us the video of him copying and pasting the request headers -- at the bottom of that headers tab) when a login form is submitted as a post request?
@JordanAF808
@JordanAF808 4 жыл бұрын
Surprised he didn't challenge anyone to a arm-wrestling competition after his presentation :)
@congregationahavathsholom6021
@congregationahavathsholom6021 5 жыл бұрын
Your login page could hash the users password in the browser then send that, In this way you not only offload that work to the users browser, but the users password never traverses the internet, nor is ever handled by your system.
@MsPsitek
@MsPsitek 6 жыл бұрын
Thanks for this Randall, I thoroughly enjoyed it!
@danko95bgd
@danko95bgd 6 жыл бұрын
You are amazing! Learned a lot thanks
@randalldegges-legacy
@randalldegges-legacy 6 жыл бұрын
Cool! Glad you enjoyed it
@MJ-xg2ow
@MJ-xg2ow 6 жыл бұрын
@Rendall watching it in 2018 - great talk and amazing examples 👍 keep up the good work man
@roymalka7010
@roymalka7010 6 жыл бұрын
Not sure I understand the last part on the video ( about hash computing ), the hash computing is happening on the server side so a brute force will slow down the server ? and not the client, pretty sure I'm missing something here.
@PretendCoding
@PretendCoding 2 жыл бұрын
Hi, so.. I'm 3 years late and you may have figured this out already, but you are correct if the code was executed as written. In order for this to be effective, the password hashing would have to take place on the client's computer, then the password hash would be sent in place of the password. However, most sites use something along the line of "you have been locked because you entered too many wrong passwords" so an attacker would do this. Instead, this is meant to slow down an attacker who has breached the database. This is assuming the attacker has the password hash (and email and etc.) and is trying to brute force that hash by generating his own hashes based on things like rainbow tables. Databases are much easier to breach than trying to login over and over, which is why it's important to make sure any sensitive data on the database is encrypted in this way.
@bundo-san
@bundo-san 6 жыл бұрын
Thanks for the tutorial. I really like the simple examples ^^
@anuragv400
@anuragv400 5 жыл бұрын
Great explanation 👍😀
@xGasPer
@xGasPer 4 жыл бұрын
What an excelent video, learned a lot
@osxs333__7
@osxs333__7 4 жыл бұрын
extremely valuable, thank you
@iskandar.bakshi
@iskandar.bakshi 6 жыл бұрын
thank you, i learned a lot
@austinmurphy9074
@austinmurphy9074 4 жыл бұрын
express has body-parser built-in new versions
@LCB_Instituto
@LCB_Instituto 4 жыл бұрын
Absolutely awesome!
@porgeet
@porgeet 6 жыл бұрын
Awesome. Dude
@randalldegges-legacy
@randalldegges-legacy 6 жыл бұрын
Glad you liked it! =D
@fonstt100
@fonstt100 4 жыл бұрын
What hashing alg uses passport?
@lillyanne6913
@lillyanne6913 4 жыл бұрын
I think you mean what hashing algo does passport use? I found this - "Passport-Local Mongoose use the pbkdf2 algorithm of the node crypto library. Pbkdf2 was chosen because platform independent (in contrary to bcrypt). For every user a generated salt value is saved to make rainbow table attacks even harder."
@dylanwatts2773
@dylanwatts2773 5 жыл бұрын
i fucks with this guy
@insideTheMirror_
@insideTheMirror_ 5 жыл бұрын
Thank you sir
@Felidelagente
@Felidelagente 4 жыл бұрын
Awesome!!!!
@JordanAF808
@JordanAF808 4 жыл бұрын
43:25 I laughed at that hahaha
@justdavebz
@justdavebz 6 жыл бұрын
Gold
@yapayzeka
@yapayzeka 9 ай бұрын
22:28 explainse why jwt is bad and where to use it. using wjt in cookie is bad practice. use jwt for api and token authhentication
@jinwookkim8511
@jinwookkim8511 6 жыл бұрын
Could you please add an English subtitle? It's very hard to understand what he's saying. He speaks so fast :)
@pandasmooth
@pandasmooth 5 жыл бұрын
What a chad
@emanuelzhupa
@emanuelzhupa 4 жыл бұрын
Master
@RaGa_BABA
@RaGa_BABA 4 жыл бұрын
It was really like a fantasy movie...i feel sorry for any newbie who didn't watch it...its gold video in layman terms
Everything You Ever Wanted to Know About Authentication
26:56
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 78 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 34 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 19 МЛН
Synyptas 4 | Жігіттер сынып қалды| 3 Bolim
19:27
kak budto
Рет қаралды 1,4 МЛН
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 550 М.
Web Server Concepts and Examples
19:40
WebConcepts
Рет қаралды 253 М.
Authentication as a Microservice
50:26
Oracle Developers
Рет қаралды 217 М.
Proxy vs Reverse Proxy vs Load Balancer | Simply Explained
13:19
TechWorld with Nana
Рет қаралды 162 М.
Tech Talk: What is Public Key Infrastructure (PKI)?
9:22
IBM Technology
Рет қаралды 125 М.
The Weird History of JavaScript
12:09
Fireship
Рет қаралды 1,2 МЛН
10 modern layouts in 1 line of CSS
21:39
Chrome for Developers
Рет қаралды 1,1 МЛН
Node.js API Authentication With JWT
23:01
Traversy Media
Рет қаралды 557 М.
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 78 МЛН