High Definition Standard Definition Theater
Video id : nJWmoetWP0k
ImmersiveAmbientModecolor: #d2f0c4 (color 1)
Video Format : 22 (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: Opus - Normalized audio
PokeTubeEncryptID: 2bf22d85b92e3f035c89658bd452582398c58ef3ff2231784aba4a49af99c06da84890f129ad65e2e3f6e11dde8b9e84
Proxy : eu-proxy.poketube.fun - refresh the page to change the proxy location
Date : 1715424426960 - unknown on Apple WebKit
Mystery text : bkpXbW9ldFdQMGsgaSAgbG92ICB1IGV1LXByb3h5LnBva2V0dWJlLmZ1bg==
143 : true
Session Based Authentication - Session Hijacking & Fixation - Build Expense Tracker App With PHP 8
Jump to Connections
6,832 Views β€’ Nov 1, 2022 β€’ Click to toggle off description
In this video we build the basic session based user authentication. We also touch on couple of security topics like session hijacking & fixation as well as some session cookie options.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
πŸ‘ Smash the like button
🀝 Subscribe to the channel & turn the notifications on
πŸ’¬ Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: www.patreon.com/programwithgio
THANK YOU!

πŸ› οΈ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - 1.envato.market/c/2937311/298927/4662

LESSON P.5
Starting Source Code - github.com/ggelashvili/expennies/tree/P5_Start
Ending Source Code - github.com/ggelashvili/expennies/tree/P5_End
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - Β Β Β β€’Β LearnΒ PHPΒ TheΒ RightΒ WayΒ -Β FullΒ PHPΒ Tu...Β Β 

RESOURCES
Sessions Lesson - Β Β Β β€’Β PHPΒ SessionsΒ &Β CookiesΒ -Β OutputΒ Buffe...Β Β 

TABLE OF CONTENTS
00:00 - Intro
01:16 - Protect routes using auth middleware
03:59 - Authenticate user using sessions
08:44 - Session Hijacking & Fixation
10:42 - How to protect app against session hijacking & fixation
12:02 - Cookie options & configuration
15:37 - Guest middleware
16:51 - O
Metadata And Engagement

Views : 6,832
Genre: Education
Date of upload: Nov 1, 2022 ^^


Rating : 4.892 (6/217 LTDR)
RYD date created : 2024-03-12T23:01:47.018466Z
See in json
Tags
Connections
Nyo connections found on the description ;_; report a issue lol

YouTube Comments - 27 Comments

Top Comments of this video!! :3

@hurleyd9828

1 year ago

I've moved to python recently and found your channel. Just can't believe you are giving out these for free!

4 |

@toy_woody

1 year ago

I love you George! Keep going, you are awesome!

2 |

@Zubbee

1 year ago

Cool! Like clockwork. Thanks Gio

1 |

@Zubbee

1 year ago

Hi Gio this is more advanced stuff. We've really come along way. I checked out my cookies on youtube and they were many! and I did see some those http only and secure options. I may need to re-watch the earlier videos. I must have missed something. Also I'm yet to grab working with twig but like you said, I'll concentrate on php first. Thanks Gio

|

@gerasimos-dimitriostheotok7071

1 year ago

Lovely tut Gio! I have 2 questions: 1) According to Slim docs, a middleware is callable. How do you achieve to pass a class in the route without instantiating it and without using an __invoke() magic method? I'm mostly asking cause i cannot find this in the docs. Actually your approach looks even better to me since you are implementing directly the PSR interfaces. I just want to understand how it works. 2) In your middleware, in which way the ResponseFactoryInterface is resolved?

|

@-Edijs

10 months ago

What is your usual approach with http status codes - do you use constants from something like symfony/http-foundation/Response? Currently we are hard coding integers which might be a bit ambigous.

|

@mibSuperStar

4 months ago

Hi. It's look like you didn't use Validator in logIn method. Validator have been created, but function validate isn't being called and ValidateException isn't being throwned

|

@karlson2804

1 year ago

Hi Gio, will be playlist about laravel 9 ?

|

@illegalsmirf

1 year ago

So, it seems like the best thing to do - if you're developing on PHP - is to use an existing framework, rather than write stuff from scratch? Plus, don't you always need to implement huge amounts of JavaScript no matter what? Might be just as well to do everything in JavaScript.

|

@user-hp4bx3gn6k

1 year ago

ბოαƒͺ.αƒ›αƒ”αƒ“αƒ˜αƒαƒ¨αƒ˜ როგორ αƒ›αƒαƒ’αƒ«αƒ”αƒ‘αƒœαƒ, αƒ“αƒαƒ™αƒαƒ•αƒ¨αƒ˜αƒ αƒ”αƒ‘αƒ αƒ›αƒ˜αƒœαƒ“αƒ

|

@FGj-xj7rd

1 year ago

Long live Laravel auth πŸ˜…

|

Go To Top