Тёмный

Sessions in PHP: prevent session fixation attacks 

Dave Hollingworth
Подписаться 27 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@ayorm7655
@ayorm7655 4 года назад
thanks bro I am from the future, I came here to tell you!, your just save humanity be careful with your life.
@commonsense4434
@commonsense4434 3 года назад
Standing Ovation sir, for your tutorials that are with common sense on steroids! :D Your MVC From Scratch rules! ;)
@bonjr2854
@bonjr2854 Год назад
When I regenerate my session ID, my app is using the old session file instead of the newly generated one (therefore I am unable to see the $_SESSION['user_id'] that was saved to the new file), why is this?
@dave-hollingworth
@dave-hollingworth Год назад
Difficult to know without being able to debug your code. Are you calling session_start() before regenerating the ID?
@bharathnaidu107
@bharathnaidu107 2 года назад
Your video solved my problem. Immediately subscribed to your channel ❤️. Thank you bro 😀❤️
@ghost91827
@ghost91827 6 лет назад
Briefly and essentially, as I like!
@ilya_123__
@ilya_123__ Год назад
thank you
@rw7799
@rw7799 5 лет назад
so how is it legal to put code out there without a licence? thinking wordpress etc . i ve built an app,,, its terrible code so now iam going back over it with laravel etc..but i could have shipped it and no one would have stopped me...
@dave-hollingworth
@dave-hollingworth 5 лет назад
I'm not sure what you mean - both WordPress and Laravel have licences (wordpress.org/about/license/, laravel-guide.readthedocs.io/en/latest/license/) - as for shipping code, you can ship whatever you like, and apply whatever licence you like to it (e.g. choosealicense.com/)
@cd78
@cd78 3 года назад
@@dave-hollingworth Dave should you be deploying session_regenerate_id(true) in the logout script AS WELL???. Thanks
@dave-hollingworth
@dave-hollingworth 3 года назад
@@cd78 Yes, that's probably a good idea, to regenerate the session ID whenever the login state changes, although it's less important as you're logging out as opposed to logging in.
@ZeeshanKhank7
@ZeeshanKhank7 3 года назад
Thanks, bro I need to do the same for WordPress, can you pls help me out.
@dave-hollingworth
@dave-hollingworth 3 года назад
I'm not familiar with the internals of WordPress, but I suspect it already does this when you use the WordPress login features. If you're creating a plugin that does authentication, then it's just PHP, so you can use the techniques shown in the video.
@osmancakmak5507
@osmancakmak5507 5 лет назад
Thanks man,
Далее
Session Management Intro with PHP
19:32
Просмотров 11 тыс.
Properly Escaping Output in PHP to Prevent XSS Attacks
10:39
Nightmare | Update 0.31.0 Trailer | Standoff 2
01:14
Просмотров 629 тыс.
Avoid SQL injection attacks in PHP using PDO
4:02
Просмотров 13 тыс.
How to remember the login after closing the browser
4:25
How to prevent direct access to PHP files
5:43
Просмотров 47 тыс.
Securely Storing PHP Configuration Settings
7:20
Просмотров 8 тыс.
Mastering Chaos - A Netflix Guide to Microservices
53:14