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

Same-Origin Policy

Same-origin policy (SOP) web browsers ka ek fundamental security mechanism hai jo restrict karta…

Overview
🌟

Same-Origin Policy — Quick Facts

📌

Field: Detail

🎯

Topic: Same-Origin Policy — browser…

Category: Web Platform / Browser Security /…

🔑

Type: Security policy — browser-enforced…

Topic 1
📚

Infobox

📚 | Field | Detail | |---|---| | Topic | Same-Origin Policy — browser security mechanism…
Topic 2

What is an "Origin"

💡 Origin = Scheme + Host + Port — teeno ka combination. Origin Components | Component |…
Topic 3
🔒

Why SOP Exists — The Threat

🎯 `mermaid sequenceDiagram participant User as User (Browser) participant Bank as…
Topic 4

What SOP Restricts vs What It Allows

Restricted (Cross-Origin — Blocked by Default) | Resource Type | What's Blocked | Example…
Topic 5
📥 📥 🧠 🔬 💡 🎯

SOP Behavior Across Web APIs

🔑 | Web API / Feature | SOP Applies? | Behavior | |---|---|---| | XMLHttpRequest / Fetch |…
Topic 6

Cross-Origin Workarounds

Jab legitimate cross-origin communication chahiye (APIs, microservices, third-party…
Topic 7

CORS — The Controlled Exception

🌟 `mermaid sequenceDiagram participant Browser as Browser (frontend app) participant Server…
Topic 8

SOP and Cookies

🚀 Cookies aur SOP me subtle difference hai — cookies ka scoping SOP se thoda alag kaam…
Topic 9
📥 📥 🧠 🔬 💡 🎯

Common Misconceptions

📚 | # | Misconception | Reality | |---|---|---| | 1 | "SOP requests block karta hai" | Nahi…
Topic 10
💡

Real-World Example

💡

Request server tak pahunchi…

🔑

SOP ne data theft roki, CSRF nahi…

Topic 11

Glossary / Terminology

🎯 | # | Term | Meaning (Hinglish) | |---|---|---| | 1 | Same-Origin Policy (SOP) | Browser…
Comparison

What SOP Restricts vs What It Allows

⚖️

DOM Access: Ek origin ka JS dusre…

⚖️

XMLHttpRequest / Fetch: Cross-origin…

⚖️

localStorage / sessionStorage: Ek…

Diagram
📥 ⚙️ 🔬 💡

Visual Flow

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

Visual Flow

📊 Diagram visualization — details in narration
Related Topics

See Also

📖

CORS

🔗

Cross-site scripting

💡

Cross-site request forgery

📚

Content Security Policy

🔑

Cookie

🌐

HTTP

Quick Quiz
🧠 QUIZ TIME

Quiz — Question 1

Same-Origin Policy ka sabse sahi definition kya hai?

Quick Quiz
🧠 QUIZ TIME

Quiz — Question 2

Same-Origin Policy ka 'Topic' kya hai?

Complete! 🎉
COMPLETE

Same-Origin Policy Complete!

Aliens Wiki · Hinglish (Roman) · Cinematic Knowledge

Same-Origin Policy Complete

➡️

CORS

1/20
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