Same Origin Policy explained | what is Same Origin policy?

  Рет қаралды 11,606

Jan Goebel

Jan Goebel

Күн бұрын

🔥More exclusive content: productioncoder.com/you-decid...
Twitter: / _jgoebel
Blog: productioncoder.com
Website: jangoebel.com
00:00 Introduction
00:14 What is an origin?
01:06 What problem is Same Origin Policy solving?
03:05 Same Origin Policy and iframes
05:08 Same Origin Policies for external scripts
06:34 Rules of the Same Origin Policy
07:35 How string is the Same Origin Policy in general
08:11 Further reading and importance of Same Origin Policy
08:45 Conclusion
In this video we explain what the Same Origin Policy is and why it is relevant for the modern web. The Same Origin Policy is an important concept in web security that restricts certain operations from scripts that target different origins.
📚Further reading:
developer.mozilla.org/en-US/d...
web.dev/same-origin-policy
www.acunetix.com/blog/web-sec...
security.stackexchange.com/qu...
security.stackexchange.com/qu...

Пікірлер: 22
@jgoebel
@jgoebel 3 жыл бұрын
What do you think about this? Let me know in the comments below.
@jennifert5016
@jennifert5016 2 жыл бұрын
Thanks for the video! Recently had this question come up in one of my interviews and had a hard time explaining it. This cleared a lot of things up for me!
@jgoebel
@jgoebel 2 жыл бұрын
thx, I hope the interview went well nonetheless
@devateja9045
@devateja9045 3 жыл бұрын
Great Explanation mate!! Keep up the good work
@jgoebel
@jgoebel 3 жыл бұрын
thx deva 👍
@colibri-n7g
@colibri-n7g 2 жыл бұрын
This video really cleared up my confusion about SOP. Thank you!
@jgoebel
@jgoebel 2 жыл бұрын
Glad it was helpful!
@VitalikAwesome
@VitalikAwesome 3 жыл бұрын
Good job man!!! Everything is clear! Wish you to have more watches than now!👍👍
@jgoebel
@jgoebel 3 жыл бұрын
thx 👍
@HighTechpuri
@HighTechpuri Жыл бұрын
Awesome Man
@jgoebel
@jgoebel Жыл бұрын
Glad you liked it
@shubham_srt
@shubham_srt 2 жыл бұрын
i am lot more clear with this concept now, thanks !
@jgoebel
@jgoebel 2 жыл бұрын
Happy to hear that!
@RahulSahni_-gj8ez
@RahulSahni_-gj8ez 3 жыл бұрын
Thank you
@jgoebel
@jgoebel 3 жыл бұрын
you're welcome Rahul 👍
@alexanderteplov4505
@alexanderteplov4505 2 жыл бұрын
The general idea was expressed more clearly than on some well-known resources
@jgoebel
@jgoebel 2 жыл бұрын
thx Alexander, I'm glad you found it useful 👍
@xnns8195
@xnns8195 2 жыл бұрын
In short: our js code cannot modify or read content(using variable to read document) of different origin.
@jgoebel
@jgoebel 2 жыл бұрын
per default yes. But this can be related with a CORS policy. Like so certain websites can allow other origins to load data from them and embed s and so on
@Jason-mu6ug
@Jason-mu6ug 3 ай бұрын
You are like a young Elon Musk
@jgoebel
@jgoebel Ай бұрын
I'm not flying to Mars... At least not yet 😅
@e0a22f3
@e0a22f3 2 жыл бұрын
I find it difficult to understand this explanation without the knowledge of basic coding. I was wondering the whole time what're inside those two tags: and
Same-origin policy: The core of web security @ OWASP Wellington
1:04:43
What is CORS?
13:22
A shot of code
Рет қаралды 62 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,6 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
The Same Origin Policy - Hacker History
12:19
LiveOverflow
Рет қаралды 106 М.
Why Everyone Is OBSESSED With Arc Browser
10:26
Enrico Tartarotti
Рет қаралды 251 М.
Cross Origin Resource Sharing (Explained by Example)
23:15
Hussein Nasser
Рет қаралды 154 М.
OAuth Authorization code flow
11:49
Jan Goebel
Рет қаралды 49 М.
HACKING a DATABASE, SO EASY?! | SQL INJECTIONS
23:27
Fransosiche
Рет қаралды 14 М.
Cross-Site Scripting (XSS) Explained
11:27
PwnFunction
Рет қаралды 433 М.
OAuth PKCE | OAuth Proof Key for Code Exchange explained
9:39
Jan Goebel
Рет қаралды 40 М.
CSRF Introduction and what is the Same-Origin Policy? - web 0x04
10:25
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,6 МЛН