Cross-Origin Resource Sharing (CORS) | Complete Guide

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 84

  • @RanaKhalil101
    @RanaKhalil101  2 года назад +13

    Don't want to wait for the weekly release schedule to gain access to all the videos and want to be added to a discord server where you can ask questions? Make sure to sign up to my course: bit.ly/30LWAtE ✨✨

    • @Shintowel
      @Shintowel 2 года назад

      Love u

    • @akr2dev
      @akr2dev Год назад

      Is your course available as one time purchase? Or I have to renew each month to keep access

    • @RanaKhalil101
      @RanaKhalil101  Год назад

      @@akr2dev One time purchase

    • @akr2dev
      @akr2dev Год назад +1

      @@RanaKhalil101 I was looking for a course that covers CORS. I think I am so lucky to find your course It will take me to a whole another level :) Thank you ~

    • @klliiyougg6666
      @klliiyougg6666 Год назад

      Why you speak englih why

  • @CookingCooking77
    @CookingCooking77 8 месяцев назад +8

    You explain in the exact way a beginner would liked to be explained !

  • @VladislavSnegurov
    @VladislavSnegurov Год назад +6

    I had so many confusion with Same-Origin-Policy and CORS, you made it clear for me once and forever. The most brilliant part of your lecture is that you provide real step-by-step case of attacking and exploiting vulnerability. Most explanations in Internet are just few general statements that produce more questions than answers. Thank you!

  • @rohanadhvaryu
    @rohanadhvaryu 2 года назад +37

    This is the best ever explaination I have seen on an internet for the CORS topic, what an explaination!! Each and every details are covered here to understand it deeply and properly in a very easy language. I really appreciate. Thank you and and please keep it up. 🙂❤🙌

    • @rahulaga
      @rahulaga 9 месяцев назад

      totally agree on clarity of explanation !!

  • @klalafudaklalafu
    @klalafudaklalafu 11 месяцев назад +3

    How it possible for script from another tab (21:25) to access bank's tab's cookies to make requests on bank site?

  • @faique2995
    @faique2995 2 года назад +8

    You are among the best teacher I have ever met in my life ♥️

  • @Thomas_Grusz
    @Thomas_Grusz Год назад +1

    This is the best explanation of CORS and SOP I have come accross so far. Thank you!

  • @AnujSharma-yv6gy
    @AnujSharma-yv6gy 2 года назад +1

    at 36:44, it is said that if there aren't any CORS headers being used by the application, it can be due to the application making use of dynamic generation. Later at 37:33, we check if the value in the origin header is being reflected in ACAO CORS header. So basically we're finding flaws in dynamic generation by making use of what's being reflected in CORS' ACAO header. Aren't both these statements contradictory? If there are no CORS headers and the reason is dynamic generation then how can we test for dynamic generation using CORS headers?

    • @AnujSharma-yv6gy
      @AnujSharma-yv6gy 2 года назад +1

      @Elijah Rodgers but since it isn't CORS header, wasn't it there anyways? We need ACAO header in response to test which is one of the two CORS headers.

  • @vicmann87
    @vicmann87 8 месяцев назад

    This video has the best explanation that I've ever seen about this topic

  • @bhaskarvaka3931
    @bhaskarvaka3931 Год назад +1

    Wow ! The best video on CORS. This helps me to work on the solution for the issue identified in my application. Thank you so much!

  • @abdallahazme4757
    @abdallahazme4757 7 месяцев назад

    For a full stack developer like me this was super super useful, SO MANY THANKS.

  • @0x_Eslam
    @0x_Eslam 6 месяцев назад +1

    Love u sis❤ i hope u will be in jannah inshallah❤❤

  • @timecop1983Two
    @timecop1983Two 11 месяцев назад

    You are the best web HACKER I know!!! Keep up you're amazing content. I could not find Cross-Origin Resource Sharing on youtube but then I remeber you were in a david bombal show. So, keep it up... 👍👌✌

  • @RafaelFoschiani
    @RafaelFoschiani Год назад

    Come here because i was having some issues with AWS Cloudfront/S3 CORS configuration, and find out a lot of vulnerabilties in the existing confgs LMAO. Thank you so much!

  • @youssef_emad19
    @youssef_emad19 Год назад

    You are my role model in this field

  • @Dexter_m-v8x
    @Dexter_m-v8x 10 месяцев назад

    This is the best explanation of CORS and SOP I Thank you, even your language it's easy to consider again thank you

  • @MereAYT
    @MereAYT 7 месяцев назад

    This is really good and I am saving it ot watch a few times until it all clicks. Thanks!

  • @kokn3t
    @kokn3t Год назад +2

    Is it possible to exploit in "Authorization Bearer" JWT base web applications?

  • @kutra100
    @kutra100 Год назад

    Excellent. Made it easy to understand and grasp. Thank you !

  • @titanicsinclair1577
    @titanicsinclair1577 2 года назад +1

    finally new series is back after some time!

  • @TomAinsworth94
    @TomAinsworth94 Год назад

    Thanks a lot for the video Rana, it’s super helpful!

  • @ChillTamizha
    @ChillTamizha Год назад

    Nice video thanks for the resources that were shared in this video 👏

  • @squarebyte9846
    @squarebyte9846 2 года назад +1

    Great video! This makes CORS so easy to understand :D

  • @jogadornumerozero3257
    @jogadornumerozero3257 Год назад +1

    This channel is awesome, thank u soo much

  • @jmukarram
    @jmukarram 2 года назад +3

    Very informative video. Thanks for sharing your knowledge and skill.

  • @davidelmakias5545
    @davidelmakias5545 24 дня назад

    Awesome explanation, thank you very much!
    There's one thing I'm missing here.
    What is the proper configuration?
    Suppose i have dynamic env and i need to allow multiple domains... Some of them do need the Credentials header, some don't. What would you recommend?

  • @ueivamarquessouza4913
    @ueivamarquessouza4913 Месяц назад

    I love your explaination! Thanks!

  • @ankurarora1606
    @ankurarora1606 2 года назад +1

    Love your way of teaching

  • @danmcgirr4210
    @danmcgirr4210 2 года назад +1

    You are amazing! Thanks for sharing so much knowledge. I've just found your academy through your Twitter. I'm looking forward to joining and training under your guidance. All the best!

  • @ArindamKashyap-qk1ps
    @ArindamKashyap-qk1ps Год назад +1

    Thanks a lot Rana. All my confusion are gone now. Thank you very much.
    Could you please make a video on Road to CEH Master, I'm thinking of taking the Elite package from EC council.
    I know you have cleared the OSCP and saw you video on David Bombal's channel. I got to know your videos from Portswigger's community solution. [ optional: you could make for the CEH Master one by collaborating with someone also].

  • @pascalerb5572
    @pascalerb5572 Год назад

    Real good video! Thanks for this awesome work!

  • @kianooshmehrandish7187
    @kianooshmehrandish7187 Месяц назад

    that was literally awesome, thank you

  • @oshoinspires_1
    @oshoinspires_1 11 месяцев назад

    You Just Nailed it , Ma'am

  • @hebafarahat
    @hebafarahat Год назад

    I love how you always simplify things. You are amazing! keep it up Rana 🔥💪

  • @sudnomods
    @sudnomods Год назад

    Thanks Rhana. You are the best🎉

  • @211986abhi
    @211986abhi 2 года назад

    Wow 👌 beautifully explained. Your work is amazing. Totally impressed.

  • @marclemessy2063
    @marclemessy2063 2 года назад

    thank you very much for your explanation, you were very clear. Keep it up

  • @fathallahilyes529
    @fathallahilyes529 Год назад +1

    what mean access control allow origin header to null pls ?

  • @sp1460
    @sp1460 2 года назад

    Your teaching skills are great. Thanks. Hope you make more videos on various topics.

  • @pauraspatil9314
    @pauraspatil9314 2 года назад +1

    Nicely Explained !

  • @shaifsec
    @shaifsec 6 месяцев назад

    This is awesome contenet about CORS.

  • @syedburhanofficial
    @syedburhanofficial Год назад

    Absolutely fantastic Rana

  • @korean6525
    @korean6525 2 года назад +1

    Wonderful explanation!

  • @jc_alpha
    @jc_alpha Год назад

    Perfect explanation. Thank you!

  • @vishalsharma-nx2fq
    @vishalsharma-nx2fq 2 года назад

    Excellent video what a detailed explanation... Kudos to you

  • @dor1313
    @dor1313 2 года назад

    Wow ! such a great explanation ! like & subscribed!

  • @AjitYadav-sy3dh
    @AjitYadav-sy3dh 3 месяца назад

    Great work. Could have covered preflight requests as well.

  • @nicolaciaco
    @nicolaciaco Год назад +1

    Good stuff here. What about JSONP for cross origin resource sharing? Is it a valid alternative to CORS? Are there security problems with JSONP?

  • @mrkewi1
    @mrkewi1 2 года назад

    you're awesome. please don't stop

  • @petebarnard123
    @petebarnard123 Год назад

    Brilliant explanation. thanks

  • @JorgeRivera-rp1zw
    @JorgeRivera-rp1zw Год назад

    Hi, Dear Rana .
    Many thanks to share your video with us..?
    Succeds..!

  • @deepamsinha3933
    @deepamsinha3933 9 месяцев назад

    I have one doubt regarding this.Suppose domain A wants domain B to access its resources, so it whitelists it. Another domain C knows that B is whitelisted. Now, domain C sends a request and specifies Origin equal to domain B, so will it be able to access the resources on A? If yes, then is it so easy to spoof origin and just access resources on a different domain?

  • @swamimzaman7058
    @swamimzaman7058 2 года назад +2

    Please make the other videos available 🙏

  • @gauravkelkar4273
    @gauravkelkar4273 2 года назад

    Amazing explanation!!

  • @sksalman6359
    @sksalman6359 2 года назад +1

    Thanks Rana Khalil 🥰🥰

  • @JuanBotes
    @JuanBotes 2 года назад +1

    thanks for making great content \o/

  • @mahalingappabirajdar5285
    @mahalingappabirajdar5285 2 года назад

    Great Explanation!!!!!!!

  • @cheolwang4389
    @cheolwang4389 Год назад

    great job. love it!

  • @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?

  • @acronproject
    @acronproject Год назад

    Thanks Ms.Khalil

  • @tech_excellence
    @tech_excellence 2 месяца назад

    nice video, thanks

  • @blackhatanonymous3687
    @blackhatanonymous3687 2 года назад +1

    why other videos are hidden of csrf? This is due to schedule or will be hidden for all time?

  • @sabuein
    @sabuein Год назад

    Thank you.

  • @tomkatrio182
    @tomkatrio182 2 года назад

    so helpful thanks

  • @ram-gb4xg
    @ram-gb4xg 2 года назад

    Amazing!

  • @microsoft14.
    @microsoft14. Год назад

    God bless you 🙏

  • @ranjeetyaduvanshi6089
    @ranjeetyaduvanshi6089 2 года назад +1

    can you make some videos that match with industry requirements sometimes I'm get stuck in doing stuff well I'm Network Security Analyst i wants to learn more something new to add in my skilll

  • @Ethical_Hacker216
    @Ethical_Hacker216 Год назад

    This vulnerability important ?!
    The issue you’ve described is related to Cross-Origin Resource Sharing (CORS) misconfiguration. CORS is a security feature implemented by web browsers to control which web domains can access resources on a given domain. In this case, the application has a CORS policy that allows access from any domain (Access-Control-Allow-Origin: *), which is considered overly permissive and poses a security risk.

  • @saurabhjha8733
    @saurabhjha8733 11 месяцев назад +1

    Ninja Hattori

  • @QuranKareem22
    @QuranKareem22 Год назад

    thansk❤

  • @jayak3768
    @jayak3768 2 года назад

    I love cats.
    As long as my bank account is safe.

  • @tiago7w_583
    @tiago7w_583 2 года назад +1

    Top

  • @hatemabushaala
    @hatemabushaala Год назад

    👏

  • @katebanez7918
    @katebanez7918 2 года назад

    I am the 404th like, but it's not found ;)