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

Sdílet
Vložit
  • čas přidán 2. 06. 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

Komentáře • 169

  • @samueljaworski5737
    @samueljaworski5737 Před rokem +24

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

  • @Rorschach9674
    @Rorschach9674 Před 3 lety +8

    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 :)

  • @kylediamond8598
    @kylediamond8598 Před 2 lety +1

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

  • @juhandvan
    @juhandvan Před 2 lety +1

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

  • @goldfishbrainjohn2462
    @goldfishbrainjohn2462 Před 2 lety +2

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

  • @nathanlewan
    @nathanlewan Před rokem

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

  • @girish8611
    @girish8611 Před rokem

    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.

  • @AabidIsmail
    @AabidIsmail Před rokem

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

  • @jessejoseph2643
    @jessejoseph2643 Před 2 lety

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

  • @gindevgin9298
    @gindevgin9298 Před 3 lety +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!

  • @davidleiva211
    @davidleiva211 Před 3 lety

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

  • @johnravi3887
    @johnravi3887 Před 2 lety

    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!

  • @user-lc8or1yb8s
    @user-lc8or1yb8s Před 3 měsíci

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

  • @oanacristea2572
    @oanacristea2572 Před 2 lety

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

  • @uquantum
    @uquantum Před rokem

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

  • @sirrobinhood3409
    @sirrobinhood3409 Před rokem

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

  • @ohmyumbrella
    @ohmyumbrella Před 2 lety +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.

  • @kAh00t
    @kAh00t Před 2 lety

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

  • @hamzafarrukh1702
    @hamzafarrukh1702 Před rokem

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

  • @alibaba888
    @alibaba888 Před 2 lety

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

  • @gat2871
    @gat2871 Před 4 měsíci

    Wonderful! Super well explained! Thank you

  • @wonjunjang3839
    @wonjunjang3839 Před 3 lety +1

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

  • @muditagrawal7357
    @muditagrawal7357 Před rokem

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

  • @dhoneybeekingdom7889
    @dhoneybeekingdom7889 Před rokem +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!

  • @_yopee
    @_yopee Před 2 lety +1

    Brad is such an amazing teacher!

  • @ctrl-alt-del0
    @ctrl-alt-del0 Před 11 měsíci

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

  • @TheEbbemonster
    @TheEbbemonster Před 2 lety

    Excellent explanation - just what I was looking for!

  • @janezklun
    @janezklun Před 3 lety +3

    Thank you for sharing very interesting web topics, Cheers

  • @eidenblock
    @eidenblock Před 6 měsíci

    thank u man for absolutely amazing work that u do.

  • @gabinosta
    @gabinosta Před 2 lety

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

  • @Alba-ig9hy
    @Alba-ig9hy Před rokem

    I so needed this. I loved it. Amazing.

  • @cnc-form
    @cnc-form Před 3 lety +1

    Thank you for sharing your knowledge with the rest of us

  • @thedigitalceo
    @thedigitalceo Před rokem +3

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

  • @kumaravelrajan
    @kumaravelrajan Před 10 měsíci

    Thanks for this wonderful and concise presentation!

  • @getvivekjoshi
    @getvivekjoshi Před 3 lety +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 Před 3 lety +1

      True...One of the great 👍

    • @tanercoder1915
      @tanercoder1915 Před 3 lety +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!

  • @diegorobayo9013
    @diegorobayo9013 Před 2 lety +1

    Amazing tutorial! Thanks

  • @faisalahmadi3470
    @faisalahmadi3470 Před rokem

    You made my Life easy, Keep your great work

  • @aeronwolfe7072
    @aeronwolfe7072 Před rokem

    awesome video! THANKS for the GREAT information!

  • @varunreddy5901
    @varunreddy5901 Před rokem

    Great Explanation, Thank You

  • @GarmrZero13
    @GarmrZero13 Před 3 lety +9

    Damn, this video is good, like pure GOLD

  • @yaminaatmaoui2245
    @yaminaatmaoui2245 Před rokem

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

  • @Onepiece_legends
    @Onepiece_legends Před 9 měsíci

    Best explanation so far ❤ thank you

  • @saifashraf2135
    @saifashraf2135 Před 9 měsíci

    Thank you, very clear and super helpful tutorial.

  • @harikotha7
    @harikotha7 Před 2 lety

    That's very detailed. Thanks brad!

  • @rubenwesterberg3797
    @rubenwesterberg3797 Před rokem

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

  • @eminm6383
    @eminm6383 Před 2 lety

    awesome tutorial dude! keep the good work up!

  • @talalhamdaoui1067
    @talalhamdaoui1067 Před rokem

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

  • @SpaceMonkey23101
    @SpaceMonkey23101 Před 6 měsíci

    Excellent video - thank you very much.

  • @leonvanrijswijk8409
    @leonvanrijswijk8409 Před 3 lety

    Thanks a lot. Very clear explanation

  • @med3060
    @med3060 Před 3 lety

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

  • @andrew_schaeffer
    @andrew_schaeffer Před 7 měsíci

    Listening to Brad is like a warm cup of tea.

  • @mohamedawde9508
    @mohamedawde9508 Před 3 lety

    very helpful video, I love you Brad!

  • @GeorgesMayrink
    @GeorgesMayrink Před rokem

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

  • @MettooQQ
    @MettooQQ Před rokem

    Really really a great content and presentation. Thanks so much

  • @asdfghjkl5418
    @asdfghjkl5418 Před rokem

    this is best i have seen on sessions.

  • @arjitarora8418
    @arjitarora8418 Před 2 lety

    Great introduction, thanks!

  • @maungmaungtar9651
    @maungmaungtar9651 Před rokem

    Excellent explanation, than you so much.

  • @54peace
    @54peace Před rokem

    a great video !! thanks🙌

  • @Aeturnist
    @Aeturnist Před rokem

    Awesome teacher !!

  • @unknownlordd
    @unknownlordd Před 3 lety

    Absolutely best web dev channel on yt at least imo

  • @streamx2
    @streamx2 Před 3 lety

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

  • @streamx2
    @streamx2 Před 3 lety +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  Před 3 lety +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 Před 3 lety

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

  • @mohammadmaleki9415
    @mohammadmaleki9415 Před rokem

    best video so far!!!!!!

  • @ashrafulmijan1294
    @ashrafulmijan1294 Před 17 dny

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

  • @yigitruzgaruzun7289
    @yigitruzgaruzun7289 Před 3 lety

    In a word, an awesome expression

  • @shawnyiwerd
    @shawnyiwerd Před rokem

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

  • @Arun-ev2xu
    @Arun-ev2xu Před 3 lety +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?

  • @unzestedegourmandise2826

    miammmmm ça semble sacrement délicieux merci !

  • @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.

  • @islamabdelhakiim7258
    @islamabdelhakiim7258 Před 7 měsíci

    thank you so much ❤

  • @andreacovacci1339
    @andreacovacci1339 Před 2 lety

    amazing! thanks!

  • @kienphan6436
    @kienphan6436 Před 2 lety

    Great video.

  • @genesdada7045
    @genesdada7045 Před 3 lety

    wow this what was lookin' for.asante sana.

  • @ElaraNightsky
    @ElaraNightsky Před rokem

    omg. thanks so much!

  • @arazmammadov9276
    @arazmammadov9276 Před 3 lety

    Thanks for the Big Picture!..

  • @KendaBeatMaker
    @KendaBeatMaker Před rokem

    Thank you!

  • @gunashekarmc1405
    @gunashekarmc1405 Před 4 měsíci

    Easy understanding

  • @user-mo3cw6go7c
    @user-mo3cw6go7c Před 3 lety

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

  • @ankujkumar
    @ankujkumar Před 3 lety

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

  • @mwaqaspro
    @mwaqaspro Před 3 lety

    You are great sir

  • @priyanshubindal924
    @priyanshubindal924 Před 2 lety

    Amazing!!

  • @patrickrios99
    @patrickrios99 Před rokem

    Excellent

  • @erfelipe
    @erfelipe Před 2 lety

    Thanks!

  • @Thejas2.0
    @Thejas2.0 Před 2 lety +1

    Really, A BIGG PICTURE!

  • @nitishgupta8393
    @nitishgupta8393 Před 2 lety

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

  • @girish6064
    @girish6064 Před měsícem

    Thank you

  • @MustafaGains
    @MustafaGains Před 2 měsíci

    Damn perfect 100%

  • @yapayzeka
    @yapayzeka Před 3 lety

    this is gold

  • @thomashuntsman9566
    @thomashuntsman9566 Před 3 lety +1

    brilliant

  • @_rachid
    @_rachid Před 3 lety

    Thank you.

  • @MG-nn8dy
    @MG-nn8dy Před rokem

    well done

  • @RainOnline
    @RainOnline Před 2 lety

    I cant be thankful enough.

  • @dipankardey1044
    @dipankardey1044 Před rokem

    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?

  • @Relax-ls1xi
    @Relax-ls1xi Před 2 lety

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

  • @viraj_singh
    @viraj_singh Před 2 lety

    you're golden

  • @sigmiami
    @sigmiami Před 3 lety +11

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

  • @alphayowakarindi
    @alphayowakarindi Před 2 lety

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

  • @user-xq9cd5zb2r
    @user-xq9cd5zb2r Před 3 lety

    GREAT!!!

  • @alexeyi.197
    @alexeyi.197 Před 2 měsíci

    Nice 👍

  • @vuduc1824
    @vuduc1824 Před 3 lety

    perfect !