Cookies, Sessions, JSON Web Tokens (JWT) and More 🍪🔐

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • Join my premium 2024 bootcamp here learnwebcode.teachable.com/p/...
    Let's learn about cookies, CSRF protection, sessions, JSON Web Tokens, and localStorage as ways of having a server be able to "remember" or "trust" a user.
    GitHub Reference Code: github.com/LearnWebCode/youtu...
    0:00 Intro
    0:47 Cookies
    5:58 Cookie Options
    9:24 CSRF
    17:14 Sessions
    24:36 Sessions DB Store
    28:56 JSON Web Tokens
    40:17 Worst Case Scenarios
    45:19 Outro
    Playlist for this full series: • Brad's Bootcamp - Free...
    Follow me for updates on new episodes:
    Instagram: / javaschiff
    Twitter: / learnwebcode
    Facebook: / brad-schiff-1542576316...
    Twitch: / learnwebcode

КОМЕНТАРІ • 172

  • @samueljaworski5737
    @samueljaworski5737 Рік тому +25

    This is one of the best videos I've seen on development, period

  • @juhandvan
    @juhandvan 2 роки тому +1

    I love the way you explained everything in detail. Brad is such an amazing teacher!

  • @Rorschach9674
    @Rorschach9674 3 роки тому +9

    Thank you so much Brad. I'm currently at a coding bootcamp and I am constantly reaching for your videos first to supplement my learning. You have such a great way of explaining things! Really appreciate all your hard work :)

  • @girish8611
    @girish8611 Рік тому

    One of the best video covering Cookies, Session and JWT. Thank you so much, it has helped me to get answers to the many question I had for long time.

  • @jessejoseph2643
    @jessejoseph2643 2 роки тому

    I'm so greatful that people like you exist. This video was so informative, thank you so much.

  • @goldfishbrainjohn2462
    @goldfishbrainjohn2462 2 роки тому +2

    I love the way you explained everything in detail.
    Your videos refreshed my knowledge of web technologies.
    Thank you.

  • @gindevgin9298
    @gindevgin9298 3 роки тому +2

    Hi brad, i am a french developper and i have rarely seen a so much good quality of teaching! i directly subscribe to your channel. and i am going to take a look to your training on udemy!

  • @nathanlewan
    @nathanlewan Рік тому

    Very clear description. Got the concepts across better than any other video I've watched.

  • @ohmyumbrella
    @ohmyumbrella 2 роки тому +3

    I know someone is an amazing teacher when I start watching their video and I don't have to go back in time 10 times in every 2 minutes just to somewhat hang onto what they are saying. With your approach I just watched straight from start to finish and understood everything. I'm a really dumb person and it takes me frustratingly long to understand things compared to others. So I know you are a great teacher because watching this I actually felt smart.

  • @AabidIsmail
    @AabidIsmail Рік тому

    The way your video presents information from start to end is amazing!

  • @dhoneybeekingdom7889
    @dhoneybeekingdom7889 Рік тому +1

    I have spent many many weeks reading about authentication, authorization, cookies, sessions, JWT, OAuth, etc. in order to implement my own backend from scratch. Little by little I'm ordering all the knowledge to get a clear idea of how all of this work. One confusing aspect was how and when to use a database or not. This video has helped me understand it better. Thank you!

  • @sirrobinhood3409
    @sirrobinhood3409 Рік тому

    Excellent presentation! Exactly what I was looking for. A detailed explanation of the client side. Thank You!

  • @uquantum
    @uquantum Рік тому

    Thank you so much! Clear explanation delivered in a pleasant, enjoyable way! Who knew persistence could be such fun!😊

  • @johnravi3887
    @johnravi3887 2 роки тому

    Hi Brad,
    It was a great video! People are still unaware of important things such as cookies and web tokens, and you sharing insights and information about them will definitely help a lot of viewers. I did know about them, but I still enjoyed watching this video a lot. Thanks a lot for sharing such an amazing video. It was very informative, and I am sure it will add value to many lives. Looking forward to watching more amazing videos from you!

  • @kylediamond8598
    @kylediamond8598 3 роки тому +1

    This is my first time watching your videos and I subscribed! You actually had answers to my questions

  • @hamzafarrukh1702
    @hamzafarrukh1702 Рік тому

    One of the best videos I have seen on Web Development. Hats off!

  • @oanacristea2572
    @oanacristea2572 2 роки тому

    Waww. Great video: very well explained, showed how it works, pros and cons!! 10/10. Well done, Brad!

  • @user-lc8or1yb8s
    @user-lc8or1yb8s 5 місяців тому

    Bro this is exactly what I was looking for. Thanks a ton for making this masterpiece.

  • @muditagrawal7357
    @muditagrawal7357 Рік тому

    This Literally has cleared lot of my doubts and confusions, I am really thankful to you Man, really good video !!

  • @alibaba888
    @alibaba888 2 роки тому

    Amazing teaching. Seeing the big picture helped me a lot, thanks!

  • @davidleiva211
    @davidleiva211 3 роки тому

    Great video! You really explained everything in only 45min, i love it!

  • @wonjunjang3839
    @wonjunjang3839 3 роки тому +1

    Omg absolutely amazing video!!! It was so helpful for my fullstack project with authentication.

  • @getvivekjoshi
    @getvivekjoshi 3 роки тому +39

    Brad is awesome teacher and his teaching skills is just superb. thank you Brad and Wish you a Merry Christmas and Happy New Year!!

    • @rrvital1
      @rrvital1 3 роки тому +1

      True...One of the great 👍

    • @tanercoder1915
      @tanercoder1915 3 роки тому +1

      +1 he's one of the best out there! I like his style of easing in into a concept then expand on it and practice it. superb teaching skills!

  • @kAh00t
    @kAh00t 3 роки тому

    Great video mate, clear and concise, I'll be sure to check out your courses soon :)

  • @AesSedai2020
    @AesSedai2020 6 днів тому

    i love how you explain everything, thank you! really learned alot

  • @andrew_schaeffer
    @andrew_schaeffer 9 місяців тому

    Listening to Brad is like a warm cup of tea.

  • @_yopee
    @_yopee 2 роки тому +1

    Brad is such an amazing teacher!

  • @mikkfri3370
    @mikkfri3370 Місяць тому

    Thanks a lot for making this video! That was explained nicely!

  • @streamx2
    @streamx2 3 роки тому +3

    You and Wes Bos are two of my favourite teachers. You both have the ability to teach complex topics. I have bought all your Udemy courses, always like and share your videos - I wish there was more I could do so more people could benefit from this.

    • @LearnWebCode
      @LearnWebCode  3 роки тому +1

      I've taken two courses from Wes, he's one of my favorites! He once retweeted me talking about my favorite part of his JavaScript 30 series and it made my day/week 😂. Thank you so much for all the support!

    • @streamx2
      @streamx2 3 роки тому

      @@LearnWebCode yes he made javascript click for me when i was very close to saying its not for me.

  • @GeorgesMayrink
    @GeorgesMayrink Рік тому

    Thank you, Brad. Great video clarifying a couple of things we sometimes use without fully understanding. I will check your Udemy courses for sure. 👍

  • @gat2871
    @gat2871 6 місяців тому

    Wonderful! Super well explained! Thank you

  • @ctrl-alt-del0
    @ctrl-alt-del0 Рік тому

    Thanks man. This is really a concise and comprehensive video.

  • @wtfdoiputhere
    @wtfdoiputhere 3 роки тому

    Absolutely best web dev channel on yt at least imo

  • @gabinosta
    @gabinosta 2 роки тому

    Super cool video and you also explain things super clearly. Thanks a lot!

  • @talalhamdaoui1067
    @talalhamdaoui1067 Рік тому

    Thank you very much for this very interesting tutorial with your clear both engish and explanation.

  • @GarmrZero13
    @GarmrZero13 3 роки тому +9

    Damn, this video is good, like pure GOLD

  • @cnc-form
    @cnc-form 3 роки тому +1

    Thank you for sharing your knowledge with the rest of us

  • @aeronwolfe7072
    @aeronwolfe7072 Рік тому

    awesome video! THANKS for the GREAT information!

  • @yaminaatmaoui2245
    @yaminaatmaoui2245 Рік тому

    Thank you so much, you'r such an amazing teacher

  • @rubenwesterberg3797
    @rubenwesterberg3797 Рік тому

    This was a great video. Very demonstration of how the tech works.

  • @faisalahmadi3470
    @faisalahmadi3470 Рік тому

    You made my Life easy, Keep your great work

  • @janezklun
    @janezklun 3 роки тому +3

    Thank you for sharing very interesting web topics, Cheers

  • @kumaravelrajan
    @kumaravelrajan Рік тому

    Thanks for this wonderful and concise presentation!

  • @TheEbbemonster
    @TheEbbemonster 2 роки тому

    Excellent explanation - just what I was looking for!

  • @eidenblock
    @eidenblock 8 місяців тому

    thank u man for absolutely amazing work that u do.

  • @ashrafulmijan1294
    @ashrafulmijan1294 2 місяці тому

    ❤❤❤❤❤❤❤. I'm requesting to you please make more and more videos over the technical concept like this videos.

  • @thedigitalceo
    @thedigitalceo Рік тому +3

    All I can say is WOW. This is how to teach

  • @salvadorantonioperezmontie8065

    As a Jr Developer the only thing I can say to you is: Thank you! Nobody has ever been so clear about a very complex topic and explained in such detail the pros and cons of every approach. You just gained a subscriber.

  • @yonathantekeste1618
    @yonathantekeste1618 Місяць тому

    WOW What a Perfect explanation !

  • @asdfghjkl5418
    @asdfghjkl5418 Рік тому

    this is best i have seen on sessions.

  • @Alba-ig9hy
    @Alba-ig9hy 2 роки тому

    I so needed this. I loved it. Amazing.

  • @med3060
    @med3060 3 роки тому

    very informative video in a lot of aspects thank you so much for sharing !

  • @eminm6383
    @eminm6383 2 роки тому

    awesome tutorial dude! keep the good work up!

  • @saifashraf2135
    @saifashraf2135 11 місяців тому

    Thank you, very clear and super helpful tutorial.

  • @varunreddy5901
    @varunreddy5901 Рік тому

    Great Explanation, Thank You

  • @SpaceMonkey23101
    @SpaceMonkey23101 8 місяців тому

    Excellent video - thank you very much.

  • @diegorobayo9013
    @diegorobayo9013 2 роки тому +1

    Amazing tutorial! Thanks

  • @harikotha7
    @harikotha7 2 роки тому

    That's very detailed. Thanks brad!

  • @Aeturnist
    @Aeturnist Рік тому

    Awesome teacher !!

  • @MettooQQ
    @MettooQQ Рік тому

    Really really a great content and presentation. Thanks so much

  • @streamx2
    @streamx2 3 роки тому

    I bought all your udemy courses. Thanks for this series.

  • @maungmaungtar9651
    @maungmaungtar9651 Рік тому

    Excellent explanation, than you so much.

  • @mohamedawde9508
    @mohamedawde9508 3 роки тому

    very helpful video, I love you Brad!

  • @Onepiece_legends
    @Onepiece_legends 11 місяців тому

    Best explanation so far ❤ thank you

  • @ihateorangecat
    @ihateorangecat 2 роки тому

    a great video !! thanks🙌

  • @arjitarora8418
    @arjitarora8418 2 роки тому

    Great introduction, thanks!

  • @leonvanrijswijk8409
    @leonvanrijswijk8409 3 роки тому

    Thanks a lot. Very clear explanation

  • @mohammadmaleki9415
    @mohammadmaleki9415 2 роки тому

    best video so far!!!!!!

  • @yigitruzgaruzun7289
    @yigitruzgaruzun7289 3 роки тому

    In a word, an awesome expression

  • @genesdada7045
    @genesdada7045 3 роки тому

    wow this what was lookin' for.asante sana.

  • @shawnyiwerd
    @shawnyiwerd Рік тому

    Ačiū už pasidalijimą. Neseniai naudojau Morelogin ir jis apsaugo privatumą.

  • @Arun-ev2xu
    @Arun-ev2xu 3 роки тому +2

    Thanks for a great session Brad!! It was wonderful.
    Have a query , Is it possible to use JWT stored in local storage for a multi page application?
    I understand that If we use session cookies, on every Page Load / Page redirection cookies will automatically be sent in the browser GET request.
    How can we handle such scenarios if JWT is stored in local storage?

  • @user-mo3cw6go7c
    @user-mo3cw6go7c 3 роки тому

    Your git and wordpress curses on udemy make me real developer thanks a lot

  • @arazmammadov9276
    @arazmammadov9276 3 роки тому

    Thanks for the Big Picture!..

  • @kienphan6436
    @kienphan6436 2 роки тому

    Great video.

  • @andreacovacci1339
    @andreacovacci1339 2 роки тому

    amazing! thanks!

  • @sigmiami
    @sigmiami 3 роки тому +12

    I feel I just got fatter with all this talk of cookies

  • @unzestedegourmandise2826
    @unzestedegourmandise2826 3 роки тому

    miammmmm ça semble sacrement délicieux merci !

  • @islamabdelhakiim7258
    @islamabdelhakiim7258 8 місяців тому

    thank you so much ❤

  • @MiaKaiser9
    @MiaKaiser9 Рік тому

    omg. thanks so much!

  • @dipankardey1044
    @dipankardey1044 Рік тому

    I got my ideas clear after watching this video. just a question, can we make it like jwt maintained in cache only instead of local storage?

  • @Thejas2.0
    @Thejas2.0 2 роки тому +1

    Really, A BIGG PICTURE!

  • @mahmooda4635
    @mahmooda4635 2 роки тому

    I am sad this video is older than one year and only just about 30k. Thank you..

  • @KendaBeatMaker
    @KendaBeatMaker Рік тому

    Thank you!

  • @gunashekarmc1405
    @gunashekarmc1405 6 місяців тому

    Easy understanding

  • @priyanshubindal924
    @priyanshubindal924 2 роки тому

    Amazing!!

  • @nitishgupta8393
    @nitishgupta8393 2 роки тому

    How I should thank you... This helped me a lot

  • @mwaqaspro
    @mwaqaspro 3 роки тому

    You are great sir

  • @MustafaGains
    @MustafaGains 3 місяці тому

    Damn perfect 100%

  • @erfelipe
    @erfelipe 2 роки тому

    Thanks!

  • @patrickrios99
    @patrickrios99 2 роки тому

    Excellent

  • @Relax-ls1xi
    @Relax-ls1xi 2 роки тому

    Very very good lesson. Thanks man. Can you say to me how i run ahrefs on my subdomain?

  • @ankujkumar
    @ankujkumar 3 роки тому

    Sir u r amazing...❤️❤️❤️❤️❤️

  • @MG-nn8dy
    @MG-nn8dy Рік тому

    well done

  • @alphayowakarindi
    @alphayowakarindi 2 роки тому

    Thanks for the video. What mic are you using please?

  • @girish6064
    @girish6064 2 місяці тому

    Thank you

  • @thomashuntsman9566
    @thomashuntsman9566 3 роки тому +1

    brilliant

  • @himthakur619
    @himthakur619 2 роки тому

    For login, what should we use cookies or localstorage?

  • @ahmadhassan3131
    @ahmadhassan3131 2 роки тому

    how i can like this video thousand times?👍👍👍👍

  • @alexeyi.197
    @alexeyi.197 4 місяці тому

    Nice 👍