<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muthu Kumaran on Medium]]></title>
        <description><![CDATA[Stories by Muthu Kumaran on Medium]]></description>
        <link>https://medium.com/@mr.tmkumaran?source=rss-777d448a98d7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BV9sHk-nCK5h2BQ_XIsO0Q.jpeg</url>
            <title>Stories by Muthu Kumaran on Medium</title>
            <link>https://medium.com/@mr.tmkumaran?source=rss-777d448a98d7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 02:42:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mr.tmkumaran/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Network Address Translation (NAT)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@mr.tmkumaran/network-address-translation-nat-eaf7f83f1a66?source=rss-777d448a98d7------2"><img src="https://cdn-images-1.medium.com/max/600/0*6UywQ4V5uyH0Rj8M" width="600"></a></p><p class="medium-feed-snippet">My articles are open to anyone. Non members can use the below link.</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/network-address-translation-nat-eaf7f83f1a66?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/network-address-translation-nat-eaf7f83f1a66?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/eaf7f83f1a66</guid>
            <category><![CDATA[address-translation]]></category>
            <category><![CDATA[ip-conversion]]></category>
            <category><![CDATA[network-addr-translation]]></category>
            <category><![CDATA[nat]]></category>
            <category><![CDATA[private-to-public-ip]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Mon, 16 Dec 2024 18:22:38 GMT</pubDate>
            <atom:updated>2024-12-16T18:23:50.669Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Private IP vs Public IP]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">My articles are open to anyone. Non members can use the below link.</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/private-ip-vs-public-ip-ce6a796ed24a?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/private-ip-vs-public-ip-ce6a796ed24a?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce6a796ed24a</guid>
            <category><![CDATA[public-ip-address]]></category>
            <category><![CDATA[private-ip]]></category>
            <category><![CDATA[private-ip-address]]></category>
            <category><![CDATA[ip-public]]></category>
            <category><![CDATA[ip]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Mon, 16 Dec 2024 16:27:37 GMT</pubDate>
            <atom:updated>2024-12-16T16:28:10.998Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Virtualization & Virtual Machine]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@mr.tmkumaran/virtualization-virtual-machine-7c717d0432ee?source=rss-777d448a98d7------2"><img src="https://cdn-images-1.medium.com/max/941/0*V1xHnGoipoClC9bu.png" width="941"></a></p><p class="medium-feed-snippet">My articles are open to anyone. Non members can use the below link.</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/virtualization-virtual-machine-7c717d0432ee?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/virtualization-virtual-machine-7c717d0432ee?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c717d0432ee</guid>
            <category><![CDATA[virtualisation]]></category>
            <category><![CDATA[virtualization]]></category>
            <category><![CDATA[vm]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[hypervisors]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Mon, 09 Dec 2024 15:40:35 GMT</pubDate>
            <atom:updated>2024-12-09T15:42:40.655Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Content Security Policy]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">What is CSP?</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/content-security-policy-d770c322ff93?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/content-security-policy-d770c322ff93?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d770c322ff93</guid>
            <category><![CDATA[content-security-policy]]></category>
            <category><![CDATA[csp-security]]></category>
            <category><![CDATA[csp-header]]></category>
            <category><![CDATA[csp]]></category>
            <category><![CDATA[content-security-header]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Wed, 27 Nov 2024 16:04:53 GMT</pubDate>
            <atom:updated>2024-11-27T16:06:04.874Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[JWT in detail]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@mr.tmkumaran/jwt-in-detail-5a06d168c681?source=rss-777d448a98d7------2"><img src="https://cdn-images-1.medium.com/max/900/0*Vj8fE39qNhXlb4V6.png" width="900"></a></p><p class="medium-feed-snippet">Non members can access this via the below link&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/jwt-in-detail-5a06d168c681?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/jwt-in-detail-5a06d168c681?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a06d168c681</guid>
            <category><![CDATA[json-web-token]]></category>
            <category><![CDATA[jwt-token]]></category>
            <category><![CDATA[jwt]]></category>
            <category><![CDATA[jwt-authentication]]></category>
            <category><![CDATA[jwt-auth]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Tue, 12 Nov 2024 18:18:37 GMT</pubDate>
            <atom:updated>2024-11-12T18:20:04.783Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[XSS A Simple Guide:]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Non members can access this via the below link&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/xss-a-simple-guide-636e34402e39?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/xss-a-simple-guide-636e34402e39?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/636e34402e39</guid>
            <category><![CDATA[cross-site-scripting]]></category>
            <category><![CDATA[xss-vulnerability]]></category>
            <category><![CDATA[xss-challenge]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[xs]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Thu, 07 Nov 2024 18:44:23 GMT</pubDate>
            <atom:updated>2024-11-07T18:47:24.938Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[SQL (Structured Query Language)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">What is SQL?</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/sql-structured-query-language-5a85883606db?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/sql-structured-query-language-5a85883606db?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a85883606db</guid>
            <category><![CDATA[sql-queries]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[sql-language]]></category>
            <category><![CDATA[select-queries]]></category>
            <category><![CDATA[query]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Mon, 21 Oct 2024 16:32:17 GMT</pubDate>
            <atom:updated>2024-10-21T16:32:17.570Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Regular Expression (Regex)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">What is Regular Expression (Regex)?</p><p class="medium-feed-link"><a href="https://medium.com/@mr.tmkumaran/regular-expression-regex-fd1af0eb505b?source=rss-777d448a98d7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@mr.tmkumaran/regular-expression-regex-fd1af0eb505b?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd1af0eb505b</guid>
            <category><![CDATA[regex]]></category>
            <category><![CDATA[regular-expressions]]></category>
            <category><![CDATA[js-regular-expression]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Wed, 09 Oct 2024 16:51:23 GMT</pubDate>
            <atom:updated>2024-10-09T16:51:23.221Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[URL vs URI]]></title>
            <link>https://medium.com/@mr.tmkumaran/url-vs-uri-e2e4aac321c9?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2e4aac321c9</guid>
            <category><![CDATA[url]]></category>
            <category><![CDATA[uri-vs-url]]></category>
            <category><![CDATA[uri]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Tue, 10 Sep 2024 18:21:39 GMT</pubDate>
            <atom:updated>2024-09-10T18:21:39.942Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>URL vs URI</strong></p><p>We most of heard the two buzz words the <strong>URL</strong> (<em>Uniform Resource Locator</em>) and <strong>URI</strong> (<em>Uniform Resource Identifier</em>). We are often used interchangeably, but they actually have distinct meanings, roles, and scopes. If you’re curious about how they work and how they’re different, this blog will break down the details.</p><p><strong>What is a URI?</strong><br>A Uniform Resource Identifier (URI) is a string of characters used to identify a resource on the internet, either by location, name, or both.</p><p><strong>Key Components of a URI:</strong></p><p>A typical URI consists of several components that allow the identification of resources:</p><ol><li><em>Scheme</em>: This is the part before the colon (e.g., https, ftp, mailto) that defines the protocol to access the resource.</li><li><em>Authority</em>: Consists of the domain name, and sometimes includes user credentials (username, password), host (domain or IP), and port number.</li><li><em>Path</em>: A hierarchical structure used to locate a resource on the host (e.g., /blog/my-post).</li><li><em>Query</em> (Optional): Contains additional data (usually key-value pairs) used to modify or filter the resource being requested (e.g., ?id=123&amp;sort=asc).</li><li><em>Fragment</em> (Optional): Refers to a specific part of the resource (e.g., #section2).</li></ol><p>Ex: <a href="https://www.example.com:8080/blog/my-post?id=123#section2">https://www.example.com:8080/blog/my-post?id=123#section2</a></p><p><strong>What is a URL?</strong><br>A Uniform Resource Locator (URL) is a subset of the broader URI category. Its primary purpose is to locate a resource on the internet by specifying its address. In short, a URL not only identifies the resource but also tells the client how to fetch it (i.e., it gives a location or “address” to access it).</p><p>Thus, a URL provides two key pieces of information:</p><ol><li>The location (where the resource resides).</li><li>The method or protocol used to retrieve the resource (such as HTTP, FTP, HTTPS).</li></ol><p>In summary, every URL is a URI, not every URI is a URL. Here’s how to differentiate between the two:</p><ol><li>A URI can be either a locator (URL), a name (URN), or both. It simply identifies a resource, irrespective of whether the resource can be accessed directly or not. <em>Example</em>: <a href="/service/mailto:someone@example.com">someone@example.com</a> is a URI, but it’s not a URL because it doesn’t tell how to access the resource directly on the web.</li><li>A URL is always a URI because it provides both the identity and the means to locate a resource. However, its primary function is to act as a locator. <em>Example</em>: <a href="https://www.example.com/blog/my-post">https://www.example.com/blog/my-post</a> is both a URI and a URL.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2e4aac321c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cross Origin Resource Sharing]]></title>
            <link>https://medium.com/@mr.tmkumaran/cross-origin-resource-sharing-d62fcd136252?source=rss-777d448a98d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d62fcd136252</guid>
            <category><![CDATA[same-origin-policy]]></category>
            <category><![CDATA[cross-origin]]></category>
            <category><![CDATA[pos]]></category>
            <category><![CDATA[cors]]></category>
            <category><![CDATA[cross-origin-resource]]></category>
            <dc:creator><![CDATA[Muthu Kumaran]]></dc:creator>
            <pubDate>Thu, 11 Jan 2024 17:58:58 GMT</pubDate>
            <atom:updated>2024-01-11T17:58:58.586Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MFTraPHymoRC3ozc.jpg" /></figure><h3><strong>What is CORS?</strong></h3><p>Cross Origin Resource Sharing (CORS) is help us to access the resource from one origin to another.</p><p>Now i know what you might have been thinking 🤔 Without CORS we can’t access the other origin resource. Yes we can’t. Because of the Same Origin Policy (SOP).</p><p><em>What is SOP?</em></p><p>Same Origin Policy is a security feature implemented by web browsers that decides the access of resource between the origin. It basically allows the same origin to access the resource.</p><p>To know more about SOP refer the below link,</p><p><a href="https://medium.com/@mr.tmkumaran/same-origin-policy-f6cdd1b9e26e">Same Origin Policy</a></p><p>🤔 So you are saying SOP won’t allow to access the other origin resources because of the security reasons then how CORS helps us to access it. Before that what are the cases i need to access the other origin resources.</p><p><strong><em>Why we need CORS?</em></strong></p><p>We need CORS because, in the modern day of the web we are in need of showing data from various applications into a single page or site. So we are in need of Cross Origin Resource Sharing to achieve this.</p><p><strong><em>How CORS achieving this?</em></strong></p><p>CORS provides a way for servers to specify which origins are allowed and which HTTP methods are allowed. Based on this browser will allow the web page to access the resources from other origin.</p><p>CORS uses HTTP request and response headers to achieve this.</p><p><strong><em>How the CORS flow works?</em></strong></p><ol><li>When a page initiate a request for the cross domain the browser adds a “Origin” header to the request with the value of the web page URL which making a request. Ex Origin: www.example.com/profile</li><li>After the server receiving the request it will check the origin header whether the origin is allowed or not. If not it throws an error. If it’s an allowed origin, it will return the response for the request along with few header values. <strong>Access-Control-Allow-Origin:</strong> Specifies which origin(s) are allowed to access the resources. If the value is “*”, any origin is allowed. <strong>Access-Control-Allow-Methods:</strong> Specifies the HTTP methods (e.g., GET, POST) that are allowed when accessing the resource.<br>Access-Control-Allow-Headers: Specifies which HTTP headers can be used during the actual request. <strong>Access-Control-Allow-Credentials:</strong> Indicates whether the browser should include credentials (like cookies or HTTP authentication) when making the actual request.</li><li>Now the browser after receiving the request will decide whether the web page is allowed to access the response or not by using the response headers set by the server.</li></ol><p>So in simple terms, browser set the origin header in request to let the server know who is initiating the request. And server sets some Access-Control header in response header so that the browser know who are allowed to access it.</p><p><strong>CORS Preflight Requests:</strong></p><p>Cross-Origin Resource Sharing (CORS) preflight requests are HTTP requests sent by the browser as a preliminary step before making an actual cross-origin request. Preflight requests are an essential part of CORS, and they serve to check with the server whether the subsequent actual request is permitted.</p><p>Here’s an overview of CORS preflight requests:</p><ol><li>When are Preflight Requests Sent → Preflight requests are only sent when a cross-origin request is considered “non-simple.”</li><li>Non-Simple Requests → Preflight requests are triggered for non-simple cross-origin requests. A request is considered simple if it meets specific criteria defined by CORS. Non-simple requests include those that involve custom headers, certain content types, or non-standard HTTP methods.</li><li>Preflight Request Method → The preflight request is an HTTP OPTIONS request. It is sent with the HTTP method OPTIONS to the same endpoint as the actual request.</li><li>Preflight Headers → The preflight request includes headers such as `Origin`, `Access-Control-Request-Method`, and `Access-Control-Request-Headers`.Origin which indicates the origin of the requesting web page. `Access-Control-Request-Method` which specifies the intended HTTP method of the actual request. `Access-Control-Request-Headers` which lists the headers that will be used in the actual request.</li><li>Server Handling of Preflight Requests → The server receives the preflight request and checks whether the actual request, as described by the headers in the preflight request, is permitted. The server responds to the preflight request with appropriate CORS headers, including `Access-Control-Allow-Origin`, `Access-Control-Allow-Methods`, `Access-Control-Allow-Headers`, and others.</li><li>CORS Headers in Preflight Response → The server’s CORS headers in the preflight response define the access control policies for the actual request. For example, the `Access-Control-Allow-Origin` header specifies which origins are allowed, and `Access-Control-Allow-Methods` specifies the allowed HTTP methods.</li><li>Browser Decision → The browser evaluates the CORS headers in the preflight response. If the headers indicate that the actual request is permitted, the browser proceeds to send the actual request. If the headers are missing or incorrectly configured, the browser may block the actual request.</li><li>Actual Request → If the preflight is successful, the browser sends the actual cross-origin request, and the server processes it based on the permissions defined in the CORS headers.</li></ol><p>In summary, CORS preflight requests are a necessary step to ensure that cross-origin requests are authorized by the server before the actual request is made. They provide a way for the browser to check with the server about its CORS policies and permissions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d62fcd136252" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>