Aliens Wiki
Cinematic Knowledge Experience
0%
Aliens Wiki
Now Playing
Aliens Wiki · Hinglish (Roman)
⌨️ Keyboard Shortcuts
Next slide Previous slide SpacePlay / Pause MNarration on/off FFullscreen ?Show/hide this
Press any key to close
Wiki Article · Cinematic

SameSite Cookie

SameSite ek cookie attribute hai jo control karta hai ki koi HTTP cookie cross-site requests me…

Overview
🌟

SameSite Cookie — Quick Facts

📌

Field: Detail

🎯

Topic: SameSite Cookie — cookie attribute…

Category: Web Security / Authentication /…

🔑

Type: Cookie attribute — HTTP Set-Cookie…

Topic 1

Infobox

📚 | Field | Detail | |---|---| | Topic | SameSite Cookie — cookie attribute controlling…
Topic 2

"Site" vs "Origin" — Important Difference

💡 SameSite attribute "site" check karta hai, "origin" nahi. Yeh dono alag concepts hain aur…
Topic 3
🔒

Three SameSite Values

💡

User evil.com se mybank.com ka…

🔑

Downside: user experience impact —…

Best for: internal tools, admin…

🎯

User evil.com se mybank.com ka…

Topic 4
📥 ⚙️ 🔬 💡

Cross-Site Request Scenarios

`mermaid sequenceDiagram participant User as User Browser participant SiteA as Site A…
Topic 5
📥 ⚙️ 🔬 💡

CSRF Prevention — How SameSite Helps

🔑 `mermaid flowchart TD subgraph BEFORE["❌ Before SameSite (No Protection)"] A1["User…
Topic 6
📥 📥 🧠 🔬 💡 🎯

Browser Default Changes

| Browser | Version | Change | Date | |---|---|---|---| | Google Chrome | 80 |…
Topic 7

SameSite=None + Secure Flag

💡

Payment gateway iframe:…

🔑

Third-party login: OAuth/OpenID…

Embedded widgets: Chat widget,…

🎯

Cross-site API calls:…

Topic 8
📥 ⚙️ 🔬 💡

Impact on Common Web Patterns

🚀 | # | Pattern | Impact | Solution | |---|---|---|---| | 1 | OAuth / OpenID Connect |…
Topic 9

SameSite vs CSRF Tokens

📚 | Aspect | SameSite Cookie | CSRF Token | |---|---|---| | Type | Cookie attribute…
Topic 10

Common Issues and Migration

💡 | # | Issue | Cause | Solution | |---|---|---|---| | 1 | Users randomly logged out after…
Topic 11
🎯

Glossary / Terminology

🎯 | # | Term | Meaning (Hinglish) | |---|---|---| | 1 | SameSite | Cookie attribute jo…
Comparison

"Site" vs "Origin" — Important Difference

⚖️

Components: Scheme + Host + Port

⚖️

Example: https://www.example.com:443

⚖️

Subdomain same?: ❌ api.example.com ≠…

Comparison

SameSite vs CSRF Tokens

⚖️

Type: Cookie attribute…

⚖️

Protection Level: Automatic — browser…

⚖️

What It Blocks: Cross-site cookie…

Diagram
📥 ⚙️ 🔬 💡

Visual Flow

📊 Diagram visualization — details in narration
Diagram
📥 ⚙️ 🔬 💡

Visual Flow

📊 Diagram visualization — details in narration
Related Topics

See Also

📖

Cookie

🔗

Cross-site request forgery

💡

Same-origin policy

📚

CORS

🔑

Cross-site scripting

🌐

HTTPS

Quick Quiz
🧠 QUIZ TIME

Quiz — Question 1

SameSite Cookie ka sabse sahi definition kya hai?

Quick Quiz
🧠 QUIZ TIME

Quiz — Question 2

SameSite Cookie ka 'Topic' kya hai?

Complete! 🎉
COMPLETE

SameSite Cookie Complete!

Aliens Wiki · Hinglish (Roman) · Cinematic Knowledge

SameSite Cookie Complete

➡️

Cookie

1/21
0:00
REC 00:00ESC=Cancel
Aliens School
3
Recording shuru hone wali hai...
Recording Complete
Video process ho rahi hai...
Live Class
Slide 1 / 7
Timer
00:00
📝 Speaker Notes
⏭️ Up Next
🗂️ All Slides