Playlist · CS 161 (Computer Security) at UC Berkeley

[CS161] WebSec2: Cookies and CSRF

by CS 161 (Computer Security) at UC Berkeley · 17 videos

Total watch time

1h 17m

at 1× speed · exactly 1 hour, 17 minutes, 19 seconds at 1×

The shape of the course

Each column is one video, to scale

9:05

WatchedTo watch

Compare Open on YouTube JSON

Next time, skip the copying: change youtube.com to playlistduration.com in any playlist, video or channel address and it opens here. Or see the total on YouTube itself, with our extension for Chrome, Firefox or Edge.

Your plan

Plan to finish

About 2 days at an hour a day

Pick a daily pace and the days you'll watch. Ticked videos are skipped.

Days

At one hour a day, every day, this playlist takes about 2 days. Turn on JavaScript to plan around your week.

Videos (17)

1h 17m in total · tick what you've watched

Tick videos you've watched — progress is saved in this browser. Titles open on YouTube in a new tab.

Videos to
Watched
1 [WebSec2, Video 1] Outline 2:48 2025-04-21
2 [WebSec2, Video 2] Cookie Definition 5:54 2025-04-21
3 [WebSec2, Video 3] Parts of a Cookie 5:45 2025-04-21
4 [WebSec2, Video 4] Cookie Security Risks 2:58 2025-04-21
5 [WebSec2, Video 5] Cookie Policy Definition 2:04 2025-04-21
6 [WebSec2, Video 6] Cookie Policy - Setting 7:18 2025-04-21
7 [WebSec2, Video 7] Cookie Policy - Sending 4:04 2025-04-21
8 [WebSec2, Video 8] Session Authentication with Cookies 9:05 2025-04-21
9 [WebSec2, Video 9] Protecting Session Tokens 5:50 2025-04-21
10 [WebSec2, Video 10] CSRF Analogy 3:26 2025-04-21
11 [WebSec2, Video 11] Steps of a CSRF Attack 1:53 2025-04-21
12 [WebSec2, Video 12] Tricking Users Into Making Requests 5:41 2025-04-21
13 [WebSec2, Video 13] CSRF Real-World Examples 2:17 2025-04-21
14 [WebSec2, Video 14] Defense - CSRF Tokens 8:19 2025-04-21
15 [WebSec2, Video 15] Defense - Referer Header 6:02 2025-04-21
16 [WebSec2, Video 16] Defense - Same-Site Cookie Attribute 1:41 2025-04-21
17 [WebSec2, Video 17] Summary 2:14 2025-04-21
For your README

Embed a badge

Show the watch time in a README or course description — it links back here and updates itself

Watch time: 1h 17m · 17 videos

Markdown
[![Watch time: 1h 17m · 17 videos](https://playlistduration.com/badge/playlist/PLfBkt1-_BHX_BApRKPM56YtIdV3SSBJMC.svg)](https://playlistduration.com/playlist/PLfBkt1-_BHX_BApRKPM56YtIdV3SSBJMC)
HTML
<a href="https://playlistduration.com/playlist/PLfBkt1-_BHX_BApRKPM56YtIdV3SSBJMC"><img src="https://playlistduration.com/badge/playlist/PLfBkt1-_BHX_BApRKPM56YtIdV3SSBJMC.svg" alt="Watch time: 1h 17m · 17 videos" width="203" height="20"></a>

Add ?speed=1.5 to the image URL for the time at that speed, ?label=Course to change the left text, or ?style=flat-square for square corners.

Want the numbers themselves? GET https://playlistduration.com/api/v1/playlist/PLfBkt1-_BHX_BApRKPM56YtIdV3SSBJMC returns them as JSON — free, no key. API docs →

Data from the YouTube Data API as of 2026-10-24 (cached). Private or deleted videos are excluded from totals.