<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CORS on Nalar</title>
    <link>https://nalar.dev/tags/cors/</link>
    <description>Recent content in CORS on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 14 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/cors/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CORS Policy Is an Authorization Boundary Between Browser Origins</title>
      <link>https://nalar.dev/cors-policy-is-an-authorization-boundary-between-browser-origins/</link>
      <pubDate>Mon, 14 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/cors-policy-is-an-authorization-boundary-between-browser-origins/</guid>
      <description>&lt;p&gt;A cross-origin API request can reach its destination, execute application code, and produce a valid response even when the browser refuses to expose that response to JavaScript. That distinction is central to Cross-Origin Resource Sharing, yet it is often blurred by configurations that treat CORS as a connectivity switch.&lt;/p&gt;&#xA;&lt;p&gt;CORS is a browser-enforced extension to the same-origin model. It gives a server a way to state which external origins may access selected responses from browser script. The server still owns authentication and authorization for the underlying resource. CORS controls an additional boundary: whether code running under another web origin may receive the response through browser APIs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CORS Is a Browser Read Boundary, Not an API Firewall</title>
      <link>https://nalar.dev/cors-is-a-browser-read-boundary-not-an-api-firewall/</link>
      <pubDate>Sat, 12 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/cors-is-a-browser-read-boundary-not-an-api-firewall/</guid>
      <description>&lt;h1 id=&#34;cors-is-a-browser-read-boundary-not-an-api-firewall&#34;&gt;CORS Is a Browser Read Boundary, Not an API Firewall&lt;/h1&gt;&#xA;&lt;p&gt;An API can reject every cross-origin browser response and still receive the underlying requests. That distinction is easy to lose when Cross-Origin Resource Sharing is described as an access-control feature without naming the actor it constrains: browser script.&lt;/p&gt;&#xA;&lt;p&gt;CORS extends the browser&amp;rsquo;s same-origin model by letting a server state which origins may access selected responses. It does not turn the server into a network firewall, authenticate a caller, or guarantee that a request never reaches application code. A command-line client, backend service, malware process, or custom HTTP stack does not have to enforce browser CORS rules at all.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
