Can someone explain to me what is Cross-Origin Resource Sharing(CORS) in the most simplest terms?

Thank you very much to all the people who replied, I have a much better understanding of what CORS is now, really really appreciate it

πŸ‘︎ 32
πŸ’¬︎
πŸ‘€︎ u/Amantulsyan35
πŸ“…︎ Oct 02 2021
🚨︎ report
Cross-origin resource sharing pain (followup meme from r/pcmasterrace)
πŸ‘︎ 542
πŸ’¬︎
πŸ‘€︎ u/Yawmn
πŸ“…︎ Jun 24 2021
🚨︎ report
Cross-origin resource sharing
πŸ‘︎ 441
πŸ’¬︎
πŸ‘€︎ u/MagicianDue
πŸ“…︎ Sep 20 2020
🚨︎ report
CORS : Understanding Cross Origin Resource Sharing arbazsiddiqui.me/cors-und…
πŸ‘︎ 387
πŸ’¬︎
πŸ‘€︎ u/paashabhai
πŸ“…︎ Jun 14 2020
🚨︎ report
GitHub - Santandersecurityresearch/corsair_scan: Corsair_scan is a security tool to test Cross-Origin Resource Sharing (CORS). github.com/Santandersecur…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/tmiklas
πŸ“…︎ Dec 18 2020
🚨︎ report
A Brief Overview of Cross-Origin Resource Sharing (CORS) - Mastering JS masteringjs.io/tutorials/…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/code_barbarian
πŸ“…︎ Oct 09 2019
🚨︎ report
Cross-Origin Resource Sharing: A complete tutorial aparnajoshi.netlify.app/c…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/aparna_joshi_
πŸ“…︎ Jun 03 2020
🚨︎ report
Working with TigerGraph REST API and CORS (Cross Origin Resource Sharing) medium.com/tigergraph/wor…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/787mehtaabhi
πŸ“…︎ Mar 16 2020
🚨︎ report
Good Introduction to CORS (Cross-Origin Resource Sharing) blog.secureideas.com/2018…
πŸ‘︎ 129
πŸ’¬︎
πŸ‘€︎ u/CyberBullets
πŸ“…︎ Aug 29 2018
🚨︎ report
What is Cross Origin Resource Sharing on Spring?

From https://howtodoinjava.com/spring5/webmvc/spring-mvc-cors-configuration/ :

> CORS (Cross-origin resource sharing) allows a webpage to request additional resources into browser from other domains e.g. fonts, CSS or static images from CDN. CORS helps in serving web content from multiple domains into browsers who usually have the same-origin security policy.

I really don't understand. Does CORS allow my example.com web app to request resources from catspics.com? When and why should I need such functionality?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/BigBootyBear
πŸ“…︎ Nov 04 2019
🚨︎ report
Dealing with CORS (Cross-Origin Resource Sharing) in Ionic Applications | joshmorony joshmorony.com/dealing-wi…
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/ThatPigeon
πŸ“…︎ Aug 22 2018
🚨︎ report
Azure Cosmos DB now supports Cross-Origin Resource Sharing (CORS) azure.microsoft.com/blog/…
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/MaximRouiller
πŸ“…︎ Dec 05 2018
🚨︎ report
Does IOTA nodes set cross origin resource sharing(CORS) headers??

If cors headers are set many iota features won't require a backend just JS on a static site will be able to send request to any node.Does current iri allow custom response headers?

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/AviKKi
πŸ“…︎ Dec 26 2017
🚨︎ report
Enable-CORS a whole site just about Cross Origin Resource Sharing enable-cors.org/
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/netscape101
πŸ“…︎ Oct 08 2018
🚨︎ report
Bypassing Cross-Origin Resource Sharing Blockage for Kaleidoscope

https://jsfiddle.net/86tx9an9/

I made a small script that takes in an image and creates a kaleidoscope animation from it, with custom image input and a speed slider, but the problem I'm running into is that I seem to be able to use images from only imgur and tumblr as sources.

Attempting to access images from any other site results in the following message:

Image from origin 'http://gyazo.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://fiddle.jshell.net' is therefore not allowed access.

Is there any way around this?

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/ioiiooiioio
πŸ“…︎ Jul 11 2015
🚨︎ report
Cross Origin Resource Sharing - JSON - get and put requests

http://blogs.msdn.com/b/carlosfigueira/archive/2012/07/02/cors-support-in-asp-net-web-api-rc-version.aspx

http://blogs.msdn.com/b/carlosfigueira/archive/2012/02/21/implementing-cors-support-in-asp-net-web-apis-take-2.aspx

I'm having some issues with this. I'm working with webapi. If someone has some experience with this, can you please let me know? I'll get the code together.

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/theedeacon
πŸ“…︎ Mar 15 2013
🚨︎ report
Cross-domain Ajax with Cross-Origin Resource Sharing nczonline.net/blog/2010/0…
πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/servercentric
πŸ“…︎ May 28 2010
🚨︎ report
Guide to CORS (Cross-Origin Resource Sharing) for REST APIs and common pitfalls moesif.com/blog/technical…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/derricg
πŸ“…︎ Feb 01 2017
🚨︎ report
How to Use Cross-Origin Resource Sharing in ALL (Modern) Browsers kendoui.com/blogs/teamblo…
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/toddanglin
πŸ“…︎ Oct 04 2011
🚨︎ report
Cross-origin resource sharing error on r/all

There is a javascript CORS error on /r/all currently. Please see below for details

Uncaught Error initializing favico. Message: Error setting favicon. Favicon image is on different domain (Icon: https://www.redditstatic.com/mobile-web/favicon/192x192.png, Domain: m.reddit.com)    
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/trawlphaze
πŸ“…︎ Oct 22 2015
🚨︎ report
Amazon S3 - Cross Origin Resource Sharing Support aws.typepad.com/aws/2012/…
πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/jeffbarr
πŸ“…︎ Aug 31 2012
🚨︎ report
Solution to "Font from origin 'http://cdn.domain.com' has been blocked from loading by Cross-Origin Resource Sharing policy" w3guy.com/solution-font-o…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/wpdevz
πŸ“…︎ Jul 15 2016
🚨︎ report
Cross-Origin Resource Sharing developer.mozilla.org/en-…
πŸ‘︎ 9
πŸ’¬︎
πŸ“…︎ Aug 27 2013
🚨︎ report
Cross-game resource sharing touted by NFT is just monetized game modding

One of the NFT usecases that cryptidiots constantly bring up is how NFT will allow them to use assets from one game in other games, and how awesome/innovative that's gonna be. Many words have already been written about how it is impossible from technical, legal, and economic perspective. I'm not going to repeat them.

I find it incredibly frustrating that just some years ago you could have all these things for free, just from modding the game. People have spent thousands of hours building elaborate mods for popular games (e.g. GTA, TES, NFS) with custom weapons, characters, vehicles, literally whole worlds. Many of those mods were just a gimmick, something to try out and have fun with for an hour, others were intricate enough to be played seriously, in place of the original game. And all of that was free.

All of this has been possible because people used to own the games they were playing. But as the industry moves more and more into the area of "game as a service" and restrictive DRMs, the room for modding shrinks. Companies like Ubisoft and Activision lead us into the future where games are another piece of "content" that just streams onto your telly and which you have no control over.

If you find this topic interesting, Ross Scott (the creator of "Freeman's Mind" youtube series) has a great video about why GaaS is bad for the consumer: https://www.youtube.com/watch?v=tUAX0gnZ3Nw.

TLDR: if cryptobros actually cared about gamers "owning" something in the game (spoiler: they don't, they only want your money), they will know that shit like NFTs brings only the illusion of ownership, while the actual ownership and freedom is removed as games turn into closed services.

πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/salmoneveryday
πŸ“…︎ Jan 10 2022
🚨︎ report
Handling Cross-Origin Resource Sharing with Nginx mattlicense.co.uk/blog/20…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/WednesdayBass
πŸ“…︎ May 16 2014
🚨︎ report
ASP.NET Web API v2 Cross-origin resource sharing made easy stefanprodan.eu/2013/11/a…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/stefanprodan
πŸ“…︎ Dec 01 2013
🚨︎ report
Cross Origin Request Sharing

A vendor is recommending installing the β€˜Allow CORS: Access-Control-Allow-Origin’ extension to google chrome browser due to issue with web application page not loading on and off. Will the use of that addon increase the risk of Cross Site Request Forgery attacks?

If Cross Origin Requests were the problem, wouldn't the page not load at all ever instead of working intermittently?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/SysAdminCafe
πŸ“…︎ Sep 28 2021
🚨︎ report
setting up s3 bucket to handle cross origin resource policy

Hello,

I am facing issues playing audio files from my s3 bucket. I was wondering if I set up the cross origin resource policy poorly.

Here is my server.js file:

    app.use(cors());
    
    
    app.use(function(req, res, next) {
      res.header("Cross-Origin-Resource-Policy", "cross-origin");
      res.header("Cross-Origin-Embedder-Policy", "require-corp");
      res.header("Cross-Origin-Opener-Policy", "same-origin");
      next();
      
    });

The error chrome throws me is:

    GET https://monkeys.s3.amazonaws.com/sounds/1/6.wav?AWSAccessKeyId={test}&Expires=1627949062&Signature=HkT2CyazqovtjPVpDNKCu9Nsyk8%3D&response-content-disposition=attachment net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep
    manage:1 Uncaught (in promise) DOMException: Failed to load because no supported source was found.

My bucket is set up like this in the cors section:

    [
        {
            "AllowedHeaders": [
                "*"
            ],
            "AllowedMethods": [
                "GET",
                "PUT",
                "POST",
                "DELETE"
            ],
            "AllowedOrigins": [
                "https://telecurve.herokuapp.com/manage"
            ],
            "ExposeHeaders": []
        },
        {
            "AllowedHeaders": [
                "*"
            ],
            "AllowedMethods": [
                "GET",
                "PUT",
                "POST",
                "DELETE"
            ],
            "AllowedOrigins": [
                "https://telecurve.herokuapp.com/"
            ],
            "ExposeHeaders": []
        },
        {
            "AllowedHeaders": [],
            "AllowedMethods": [
                "GET"
            ],
            "AllowedOrigins": [
                "*"
            ],
            "ExposeHeaders": []
        }
    ]

Anything im missing? I've been at this for days and can't seem to find out why. I have more posts detailing the code side if you need more context! Desperately need help.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/rushimanche
πŸ“…︎ Aug 03 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.