---
title: "Discussion on \"CORS (Cross-Origin Resource Sharing): A Complete Guide\" | Hashnode"
description: "Discussion on \"CORS (Cross-Origin Resource Sharing): A Complete Guide\". Never be frustrated with CORS again. Learn what cross-origin resource sharing is, why it exists, and how to embrace it."
url: "https://hashnode.com/posts/cors-cross-origin-resource-sharing-a-complete-guide/604732c1ad7c5f4abc7cd23e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CORS (Cross-Origin Resource Sharing): A Complete Guide](https://appsecmonkey.hashnode.dev/cors-cross-origin-resource-sharing-a-complete-guide?utm_source=hashnode&utm_medium=feed)

Never be frustrated with CORS again. Learn what cross-origin resource sharing is, why it exists, and how to embrace it.

Mar 9, 2021 · 18 min read · appsecmonkey.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#security](https://hashnode.com/tag/security)
-   [#programming](https://hashnode.com/tag/programming)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Teo Selenius](https://hashnode.com/@teoselenius)

@teoselenius

  
[View profile](https://hashnode.com/@teoselenius)

OSCP, OSCE, OSWE, CKS

## Responses 1

Markdown supported · ⌘↵ to post

[Aditya Mitra](https://hashnode.com/@aditya-mitra)

[Mar 9, 2021](https://hashnode.com/posts/cors-cross-origin-resource-sharing-a-complete-guide/604732c1ad7c5f4abc7cd23e/comment/60475ff11997ad4f95131b50)

**Nice Article!** One should surely read it. (Because most of us use a _library_ or _function_ just to allow `CORS` not understanding what it actually is).

[Teo Selenius](https://hashnode.com/@teoselenius)

[Mar 9, 2021](https://hashnode.com/posts/cors-cross-origin-resource-sharing-a-complete-guide/604732c1ad7c5f4abc7cd23e/comment/60475ff11997ad4f95131b50#reply-604760cb1997ad4f95131b5f)

Quite so! Enabling CORS blindly can have disastrous security consequences if one doesn't know what they're doing.

I was also hoping to ease the pain for people banging their head against a wall just trying to get it to work. :D
