Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47a19d2

Browse files
committed
chore: update blogs with the new links
1 parent 5b6d30c commit 47a19d2

File tree

4 files changed

+83
-15
lines changed

4 files changed

+83
-15
lines changed

public/blogs/fundamentals.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Fundamentals
33
seoTitle: Fundamentals are key, learn concepts not frameworks
4-
summary: Not asking why is the root cause of developer skill-issues
4+
summary: In software, ask "why" not "what"
55
isReleased: true
66
isSequel: false
77
lastModDate: 2024-04-01T09:15:00-0401

public/blogs/referer.mdx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Referer
3-
seoTitle: All about Referer header, Referrer-Policy header
4-
summary: Referer & Referrer-Policy headers
2+
title: HTTP Referer
3+
seoTitle: Referer & Referrer-Policy headers security implications
4+
summary: Referer & Referrer-Policy headers security implications
55
isReleased: true
66
isSequel: false
77
lastModDate: 2019-12-30T09:15:00-0401
@@ -13,15 +13,15 @@ tags:
1313
---
1414

1515
<C>
16-
The Referrer header automatically includes the source URL of a transition, like clicking a link, in the request's Referer header. However, this can unintentionally expose some information.
16+
The <L href='https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer'>Referer</L> header automatically includes the source URL of a transition, like clicking a link, in the request's Referer header. However, this can unintentionally expose some information.
1717
</C>
1818
<C>
1919
So let's explore al the ways which allows us to control this behavior.
2020
</C>
2121

2222
<H2>Referrer or Referer?</H2>
2323
<C>
24-
In proper English, "Referrer" is correct, but the misspelled "Referer" is used in the HTTP header for historical compatibility. The newly defined Referrer-Policy is spelled correctly though.
24+
In proper English, "Referrer" is correct, but the misspelled "Referer" is used in the HTTP header for historical compatibility. The <L href='https://www.w3.org/TR/referrer-policy/'>newly</L> defined <L href='https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy'>Referrer-Policy</L> is spelled correctly though.
2525
</C>
2626
<H3>The Referer Header</H3>
2727
<C>
@@ -45,7 +45,7 @@ From an application perspective, the Referer should be treated as auxiliary info
4545
<H2>Usage</H2>
4646

4747
<C>
48-
There are many ways the Referer header can be used
48+
There are many ways the Referer header can be used
4949
</C>
5050
<H3>Tracking</H3>
5151

@@ -66,7 +66,7 @@ The header can be checked to combat Cross-Site Request Forgery. However, for for
6666
</C>
6767
<H3>Preventing Plagiarism</H3>
6868
<C>
69-
Some plagiarism detection tools or services may use `Referer` information as part of their analysis. By analyzing where content is being accessed from and comparing it to known sources or authorized domains
69+
Some plagiarism detection tools or services may use `Referer` information as part of their analysis. By analyzing where content is being accessed from and comparing it to known sources or authorized domains.
7070
</C>
7171
<H2>Risks of Information Leakage</H2>
7272
<C>
@@ -83,13 +83,13 @@ Jumping to an external page from search results can also reveal project details.
8383
<C>
8484
There are many ways to go by this
8585
</C>
86-
<H3>Browser Settings</H3>
86+
<H3>Proxies</H3>
8787
<C>
88-
Some browsers allow restricting Referer sending via settings like Firefox's <L href='https://support.mozilla.org/en-US/kb/about-config-editor-firefox#w_opening-aboutconfig'>``about:config``</L> or Chrome's command line options. Browser extensions also provide this functionality.
88+
Organizations often use <L href='https://www.ibm.com/docs/en/i/7.3?topic=concepts-proxy-server-types#rzaieproxytypes__forward__title__1'>forward proxies</L> to manage internal network traffic, including controlling the Referer header. This allows selective dropping or rewriting of the Referer based on whether it's an internal or external domain (friendly <L href='https://en.wikipedia.org/wiki/Man-in-the-middle_attack'>MITM</L> I suppose), in attempt to not leak information. However, with the widespread adoption of HTTPS, this method is not viable anymore.
8989
</C>
90-
<H3>Internal Proxies</H3>
90+
<H3>Browser Settings</H3>
9191
<C>
92-
Companies often use proxies to manage internal network traffic, including controlling the Referer header. This allows selective dropping or rewriting of the Referer based on whether it's an internal or external domain. However, with the widespread adoption of HTTPS, which encrypts traffic end-to-end, traditional proxy methods like <L href='https://en.wikipedia.org/wiki/Man-in-the-middle_attack'>MITM</L> have limitations due to encryption complexities.
92+
Some browsers allow restricting Referer sending via settings like Firefox's <L href='https://support.mozilla.org/en-US/kb/about-config-editor-firefox#w_opening-aboutconfig'>``about:config``</L> or Chrome's command line options. Browser extensions also provide this functionality.
9393
</C>
9494
<H3>Referrer Policy </H3>
9595
<C>
@@ -214,7 +214,7 @@ It's important to note that if the Origin header is sent, it conveys similar inf
214214
- \- **Description:** Reflects the behavior dictated by the User Agent or higher-level specification when Referrer Policy is not explicitly set.
215215
</C>
216216
<C>
217-
These Referrer Policy settings offer varying levels of control over the Referer header to balance privacy and functionality based on different security needs and scenarios. But there are
217+
These Referrer Policy settings offer varying levels of control over the Referer header to balance privacy and functionality based on different security needs and scenarios. But there are
218218
</C>
219219
<H2>
220220
Ways to Apply Referrer-Policy
@@ -314,5 +314,3 @@ This approach is useful when you cannot modify the content directly (e.g., third
314314
<C>
315315
Read <L href='https://w3c.github.io/webappsec-referrer-policy/#referrer-policy-header-dfn'>more</L>
316316
</C>
317-
318-

src/app/components/protos/hero-section.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,26 @@ import { Button } from '../ui/button';
389389

390390
/* eslint-disable */
391391

392+
/* eslint-disable */
393+
394+
/* eslint-disable */
395+
396+
/* eslint-disable */
397+
398+
/* eslint-disable */
399+
400+
/* eslint-disable */
401+
402+
/* eslint-disable */
403+
404+
/* eslint-disable */
405+
406+
/* eslint-disable */
407+
408+
/* eslint-disable */
409+
410+
/* eslint-disable */
411+
392412
function TypingAnimation() {
393413
const el = useRef(null);
394414

src/app/components/reusables/code/code-block.tsx

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,56 @@ import CopyButton from './copy-code';
168168

169169
// react-syntax-highlighter has no types
170170

171+
/* eslint-disable */
172+
// @ts-nocheck
173+
174+
// react-syntax-highlighter has no types
175+
176+
/* eslint-disable */
177+
// @ts-nocheck
178+
179+
// react-syntax-highlighter has no types
180+
181+
/* eslint-disable */
182+
// @ts-nocheck
183+
184+
// react-syntax-highlighter has no types
185+
186+
/* eslint-disable */
187+
// @ts-nocheck
188+
189+
// react-syntax-highlighter has no types
190+
191+
/* eslint-disable */
192+
// @ts-nocheck
193+
194+
// react-syntax-highlighter has no types
195+
196+
/* eslint-disable */
197+
// @ts-nocheck
198+
199+
// react-syntax-highlighter has no types
200+
201+
/* eslint-disable */
202+
// @ts-nocheck
203+
204+
// react-syntax-highlighter has no types
205+
206+
/* eslint-disable */
207+
// @ts-nocheck
208+
209+
// react-syntax-highlighter has no types
210+
211+
/* eslint-disable */
212+
// @ts-nocheck
213+
214+
// react-syntax-highlighter has no types
215+
216+
/* eslint-disable */
217+
// @ts-nocheck
218+
219+
// react-syntax-highlighter has no types
220+
171221
/* eslint-disable */
172222
// @ts-nocheck
173223
SyntaxHighlighter.registerLanguage('rust', rust);

0 commit comments

Comments
 (0)