Localstorage API, Browser Session Storage, Javascript Document Cookies ? CSRF cookie included.

preview_player
Показать описание
Learn the difference between localstorage api, browser session storage and javascript document cookies in 10 minutes. Each of them serves different purpose and they should be used correctly. We will also talk about CSRF cookie and XSS attach and how to prevent them.

MOST POPULAR COURSES

SERVICES THAT I'M USING

CONNECT WITH ME!

TIMESTAMPS
0:00 Introduction
1:46 Local storage
6:14 Session storage
7:15 Cookies

This video is NOT sponsored. Some product links are affiliate links which means if you buy something I'll receive a small commission.
Рекомендации по теме
Комментарии
Автор

So, to authentication cookies are better than localStorage? Using jwt, btw

thiagolim
Автор

Thanks, but I think sessionStorage best for login data.

SergioUkrAr