No video

What is CORS? | Cross-Origin Resource Sharing | CORS Explained!

  Рет қаралды 62,568

The TechCave

The TechCave

Күн бұрын

#web_security #cors #sop #csrf
Understanding Cross-Origin Resource Sharing is essential if you’re a web developer or want to understand the browser security model. Cross-origin Resource Sharing is a way to relax the SOP, Same Origin Policy, the security mechanism whereby browsers prevent Cross-Site Request Forgery, or CSRF.
In this video, what is CORS, and Why we need it?. You’ll understand how we can bypass the Same Origin Policy with CORS and how HTTP headers are used to customize CORS implementation.
-------- Video Outline --------
00:09 Browser functionalities and security model
01:07 CSRF attack -- Cross-Site Request Forgery
01:41 Same Origin Policy
02:13 What is an Origin
03:05 CSRF and SOP
04:03 Relaxing SOP
04:41 Introducing CORS
05:17 CORS implementation -- HTTP Headers
06:45 Preflight Request
07:19 CORS in Web Browsers vs CLI client
Resources to know more:
* developer.mozi...
* owasp.org/www-...
Check out more of The TechCave Videos:
* • What is a VPN & How do... - What is a VPN and How does it work? VPNs Explained!
* • What is a Proxy Server... - What is a Proxy Server & How Does it work?
* • The Http and the Web |... - HTTP and The Web
* • APIs | REST | REST API... - REST APIs
* • What is DevOps | Under... - DevOps
* • Web Services - Demysti... - Web Services
* • Software Architecture ... - Software Architecture
Artwork and Illustration: Flaticon.com
Stay Tuned!

Пікірлер: 43
@tarmeez
@tarmeez Жыл бұрын
CORS is one of my biggest challenges when I teach programming to the beginners and why is this happening and what we can do to bypass it, great video, thank you so much 👌🏻
@andrewfielden284
@andrewfielden284 2 жыл бұрын
What a great explanation. You've just demystified why my API call was a) sending two HTTP requests and b) why my JWT header item was being removed in the second one. Thank you!!
@ppena120
@ppena120 Жыл бұрын
I've been dealing with this issue for 2 days now and didn't really understand it until now. Thank you!
@Carlesgl81
@Carlesgl81 Жыл бұрын
i´ve been more than an hour trying to understand this concept with other videos, blogs. This video was my solution! Thanks!
@arsenshlianin3064
@arsenshlianin3064 10 ай бұрын
дякую за зрозуміле пояснення
@DaveO0808
@DaveO0808 2 жыл бұрын
understanding CORS in 5 min is possible! well done thank you
@bastienfontaine8539
@bastienfontaine8539 8 ай бұрын
Thank you for this video ! I finally understood what's behind the concept of CORS 🔥
@GB-mi5he
@GB-mi5he Жыл бұрын
What a GREAT video on this topic. Bravo!
@emmanuelobileye5643
@emmanuelobileye5643 Жыл бұрын
This was clearly explained. Thank you
@khumbokaunda7402
@khumbokaunda7402 Жыл бұрын
Thank you very much for this wonderful explanation
@deanwhite8413
@deanwhite8413 Жыл бұрын
Fantastic explanation. Thanks!
@ivan-the-l
@ivan-the-l Жыл бұрын
Very nicely explained. Clear and on point 🔥
@luanecarolineaquinocavalca1064
@luanecarolineaquinocavalca1064 Жыл бұрын
thank you so much, great explanation 👏🏽👏🏽👏🏽
@dyanzhao4927
@dyanzhao4927 2 жыл бұрын
This nice video make me understand the relationship between CORS and SOP.
@benmichel1201
@benmichel1201 2 жыл бұрын
Great walkthrough! Thanks for making this. 🙏
@jaelee1368
@jaelee1368 2 жыл бұрын
Nice video on CORS, it's clear that you put a lot of effort into creating a high quality presentation.
@AliA-kp2ux
@AliA-kp2ux Жыл бұрын
Great video! Thanks very much 🙂
@TeverRus
@TeverRus 2 жыл бұрын
The video is great, mate!
@aymaneelmadidi887
@aymaneelmadidi887 3 жыл бұрын
Awesome video thanks for uploading.
@TheTechCave
@TheTechCave 3 жыл бұрын
Thank you for your kind words!
@20rand
@20rand 2 жыл бұрын
Thanks for the video, very helpful!
@lastidea4925
@lastidea4925 Жыл бұрын
Excellent explanation, thank you Sir ♥
@anasssoulimani9288
@anasssoulimani9288 3 жыл бұрын
Great work! Awesome content as always❤
@luisrosal1499
@luisrosal1499 Жыл бұрын
great explanation, good job!
@ACLAproductions
@ACLAproductions 2 жыл бұрын
This was an amazing explanation! Thank you :)
@andersonrafaelcunha1392
@andersonrafaelcunha1392 2 жыл бұрын
Great video, very easy to understand with those examples.
@RandallReedJr
@RandallReedJr 3 жыл бұрын
This is a really helpful explanation, thanks!
@itstinmoreno
@itstinmoreno 2 жыл бұрын
Great video! Thanks for this! :)
@divanvanzyl7545
@divanvanzyl7545 3 жыл бұрын
Great explanation. Thank you
@pliegosevilla
@pliegosevilla 2 жыл бұрын
Nice! Thanks
@Toojool
@Toojool 2 жыл бұрын
great explanation
@user-ti9yn8wg6o
@user-ti9yn8wg6o Жыл бұрын
So the browser is the one enforces CORS, and the resource server is the one that can be setup to relax the restriction.
@jenks2897
@jenks2897 2 жыл бұрын
What if I don't what to access or change any data just want to click a button on website A which then clicks or simulate a click on website B and execute a function, does this falls under CORS ? If not any suggestion on how this can be done?
@anaselkassimi7091
@anaselkassimi7091 3 жыл бұрын
thank you so much
@TheTechCave
@TheTechCave 3 жыл бұрын
You're welcome!
@erfelipe
@erfelipe 3 жыл бұрын
Thanks!
@sapnashah4807
@sapnashah4807 2 жыл бұрын
can you explain important of CORS for client server
@revenant-six
@revenant-six Жыл бұрын
It just feels like the browser developers want every api developer to feel the pain of the browser dev being accused by some random user of the user's stolen information from a random website. (In which case the browser developer, of course, is not to blame, it's just that users are so stupid.)
@Denosophem
@Denosophem 2 жыл бұрын
henz the reason im looking this up, no companys want to take the blame for my identity theft. yea
@ovnigaz
@ovnigaz 2 жыл бұрын
You going to fast and your explanation are confusing
@rockinray6197
@rockinray6197 3 жыл бұрын
Bonzai..!
Cross-Origin Resource Sharing (CORS) | Complete Guide
52:17
Rana Khalil
Рет қаралды 69 М.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 35 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 48 МЛН
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 47 МЛН
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН
Cross Origin Resource Sharing (Explained by Example)
23:15
Hussein Nasser
Рет қаралды 155 М.
Cross Site Request Forgery - Computerphile
9:20
Computerphile
Рет қаралды 762 М.
Top 12 Tips For API Security
9:47
ByteByteGo
Рет қаралды 95 М.
What is a Server? (Deepdive)
17:51
LiveOverflow
Рет қаралды 175 М.
What is CORS?
13:22
A shot of code
Рет қаралды 65 М.
What is a Protocol? (Deepdive)
18:14
LiveOverflow
Рет қаралды 166 М.
The Same Origin Policy - Hacker History
12:19
LiveOverflow
Рет қаралды 107 М.
CSRF and CORS Explained
8:11
Tejas Kumar
Рет қаралды 4,9 М.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 35 МЛН