12.4K subscribers
Secure Cookies9 hours ago
Watch on YouTube👉 Master your Security+ skills with Pluralsight here: Pluralsight
You’ll learn how secure cookies keep you signed in, what the Secure, HttpOnly, and SameSite settings protect, and where those protections stop. You’ll also see how to use Chrome DevTools to check whether your browser sent a session cookie.
Chapters:
0:00 Intro
0:11 How does a cookie keep you signed in?
1:07 What do Secure, HttpOnly, and SameSite actually protect?
2:31 How can you check whether a secure cookie was sent?
3:37 Outro
Disclaimer: Only test sites you own or have permission to test. Keep live session tokens out of screenshots.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Some links may earn a commission. Thanks for your support.
Pinned by @jaymayor
@jaymayor👉 Master your Security+ skills with Pluralsight here: https://www.jaymayor.com/go/security-plus
Want the full guide?
Read the full lesson for the written walkthrough, examples, and related resources.
Course playlist
Watch the whole course
Open the course playlist and keep watching in order.
Secure, HttpOnly, and SameSite do different jobs. Secure limits transmission to HTTPS in normal production use but doesn’t encrypt the stored cookie. HttpOnly blocks JavaScript from reading it, and SameSite limits when it’s sent across sites.SameSite setting based on how users reach your site. Strict excludes cross-site requests, Lax allows typical top-level visits from external links, and None allows cross-site use but requires Secure.Recommended resource

Pluralsight
Cybersecurity training platform
Build skills through practice
Affiliate link — I may earn a commission at no additional cost to you.
Jay's Recommendation
You've built the foundations. Pluralsight adds opportunities to practice in guided security labs, get feedback, and check your knowledge with assessments and practice exams, so your next step is more than another video.