<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Nyra Amsi</title>
    <description>The latest articles on Forem by Nyra Amsi (@nyra_amsi).</description>
    <link>https://forem.com/nyra_amsi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3858750%2F7b55f3fe-97c6-4ea4-a336-62625c98be22.png</url>
      <title>Forem: Nyra Amsi</title>
      <link>https://forem.com/nyra_amsi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/nyra_amsi"/>
    <language>en</language>
    <item>
      <title>From Grade F to A+: The Ultimate HTTP Security Headers Guide</title>
      <dc:creator>Nyra Amsi</dc:creator>
      <pubDate>Fri, 03 Apr 2026 07:16:53 +0000</pubDate>
      <link>https://forem.com/nyra_amsi/from-grade-f-to-a-the-ultimate-http-security-headers-guide-25nm</link>
      <guid>https://forem.com/nyra_amsi/from-grade-f-to-a-the-ultimate-http-security-headers-guide-25nm</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsbf0vxqu1tawir6ge9a9.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsbf0vxqu1tawir6ge9a9.webp" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you deploy a standard Nginx or Apache server today, it is &lt;strong&gt;insecure by default&lt;/strong&gt;. While your firewall might be strong, your browser communication is wide open to MIME Sniffing, Clickjacking, and XSS attacks.&lt;/p&gt;

&lt;p&gt;At &lt;strong&gt;iRexta&lt;/strong&gt;, we audited hundreds of servers only to find most running on a "Grade F" security score. Here is how you fix it using the &lt;strong&gt;"Big 6" Security Headers&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛡️ The Security Checklist
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;HSTS (Strict-Transport-Security):&lt;/strong&gt; Forces HTTPS. No more SSL stripping.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSP (Content-Security-Policy):&lt;/strong&gt; The primary defense against XSS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permissions-Policy:&lt;/strong&gt; Explicitly disables access to Camera/Mic/Geo APIs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;X-Content-Type-Options:&lt;/strong&gt; Stops the browser from "guessing" file types (MIME sniffing).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;X-Frame-Options:&lt;/strong&gt; Prevents your site from being framed (Anti-Clickjacking).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Referrer-Policy:&lt;/strong&gt; Protects user privacy during navigation.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  🛠️ Nginx Implementation Snippet
&lt;/h2&gt;

&lt;p&gt;Add this to your &lt;code&gt;server&lt;/code&gt; block to harden your iRexta Dedicated Server instantly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="c1"&gt;# 1. Force HTTPS&lt;/span&gt;
&lt;span class="k"&gt;add_header&lt;/span&gt; &lt;span class="s"&gt;Strict-Transport-Security&lt;/span&gt; &lt;span class="s"&gt;"max-age=31536000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;includeSubDomains&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;preload"&lt;/span&gt; &lt;span class="s"&gt;always&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;# 2. Anti-Sniffing &amp;amp; Clickjacking&lt;/span&gt;
&lt;span class="k"&gt;add_header&lt;/span&gt; &lt;span class="s"&gt;X-Content-Type-Options&lt;/span&gt; &lt;span class="s"&gt;"nosniff"&lt;/span&gt; &lt;span class="s"&gt;always&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;add_header&lt;/span&gt; &lt;span class="s"&gt;X-Frame-Options&lt;/span&gt; &lt;span class="s"&gt;"SAMEORIGIN"&lt;/span&gt; &lt;span class="s"&gt;always&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;# 3. Privacy &amp;amp; API Lockdown&lt;/span&gt;
&lt;span class="k"&gt;add_header&lt;/span&gt; &lt;span class="s"&gt;Referrer-Policy&lt;/span&gt; &lt;span class="s"&gt;"strict-origin-when-cross-origin"&lt;/span&gt; &lt;span class="s"&gt;always&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;add_header&lt;/span&gt; &lt;span class="s"&gt;Permissions-Policy&lt;/span&gt; &lt;span class="s"&gt;"geolocation=(),&lt;/span&gt; &lt;span class="s"&gt;microphone=(),&lt;/span&gt; &lt;span class="s"&gt;camera=()"&lt;/span&gt; &lt;span class="s"&gt;always&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;# 4. CSP (Start with Report-Only)&lt;/span&gt;
&lt;span class="k"&gt;add_header&lt;/span&gt; &lt;span class="s"&gt;Content-Security-Policy-Report-Only&lt;/span&gt; &lt;span class="s"&gt;"default-src&lt;/span&gt; &lt;span class="s"&gt;'self'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;script-src&lt;/span&gt; &lt;span class="s"&gt;'self'&lt;/span&gt; &lt;span class="s"&gt;[https://www.google-analytics.com](https://www.google-analytics.com)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;style-src&lt;/span&gt; &lt;span class="s"&gt;'self'&lt;/span&gt; &lt;span class="s"&gt;'unsafe-inline'&lt;/span&gt; &lt;span class="s"&gt;[https://fonts.googleapis.com](https://fonts.googleapis.com)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;report-uri&lt;/span&gt; &lt;span class="s"&gt;[https://your-endpoint.com/csp-report](https://your-endpoint.com/csp-report)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="k"&gt;"&lt;/span&gt; &lt;span class="s"&gt;always&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The "Don't Break Your Site" Rule
&lt;/h2&gt;

&lt;p&gt;The most common mistake is enabling a strict CSP and seeing your Google Fonts or Analytics die instantly.&lt;/p&gt;

&lt;p&gt;The Fix: Use Content-Security-Policy-Report-Only first. Monitor your logs for a week, whitelist your legitimate scripts, and then switch to the full enforced policy.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Verify Your Grade&lt;/strong&gt;&lt;br&gt;
Once configured, head over to SecurityHeaders.com and scan your domain. Seeing that Grade A+ isn't just for show—it's enterprise-grade hardening.&lt;/p&gt;

&lt;p&gt;Need the full guide for Apache or IIS? Check out our &lt;a href="https://www.irexta.com/tutorials/ultimate-server-hardening-security-headers/" rel="noopener noreferrer"&gt;Original Security Headers Tutorial&lt;/a&gt; on the iRexta blog.&lt;/p&gt;

&lt;p&gt;Ready for Hardened Infrastructure? &lt;a href="https://www.irexta.com/bare-metal-servers/" rel="noopener noreferrer"&gt;Explore iRexta Dedicated Servers&lt;/a&gt; and take full control of your stack.&lt;/p&gt;

</description>
      <category>security</category>
      <category>webdev</category>
      <category>devops</category>
      <category>nginx</category>
    </item>
    <item>
      <title>Stop Falling for Unlimited Hosting: A Developer's Guide to Bandwidth vs. Data Transfer</title>
      <dc:creator>Nyra Amsi</dc:creator>
      <pubDate>Fri, 03 Apr 2026 06:15:53 +0000</pubDate>
      <link>https://forem.com/nyra_amsi/stop-falling-for-unlimited-hosting-a-developers-guide-to-bandwidth-vs-data-transfer-26f4</link>
      <guid>https://forem.com/nyra_amsi/stop-falling-for-unlimited-hosting-a-developers-guide-to-bandwidth-vs-data-transfer-26f4</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb38g7u1hpq6gmmfkk202.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb38g7u1hpq6gmmfkk202.webp" alt=" "&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ever had a "10TB transfer plan" but your video streaming app still lagged for users? You likely hit a Bandwidth bottleneck, not a data cap.&lt;/p&gt;

&lt;p&gt;In the world of Bare Metal, "Unlimited" is often a marketing mask for shared, throttled ports. Let's break down the math every dev should know before picking a server.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Pipe Analogy
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Bandwidth (Port Speed): The WIDTH of the pipe (Mbps/Gbps). It dictates how much data flows in one second.&lt;/li&gt;
&lt;li&gt;Data Transfer: The VOLUME of water flowing through that pipe over a month (GB/TB).&lt;/li&gt;
&lt;li&gt;The iRexta Rule: We use Unmetered Bare Metal. If you have a 1Gbps port, it's yours 24/7. No shared pipes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Math: What Port Speed Do You Actually Need?
&lt;/h2&gt;

&lt;p&gt;Don't guess your infrastructure needs. Calculate it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Required Speed (Mbps) = (Avg Page/Stream Size in Mb * Concurrent Users)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; 5 Mbps stream * 500 concurrent viewers = &lt;strong&gt;2.5 Gbps required.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you are on a standard 1Gbps port, your users will experience buffering instantly. This is where LACP (Link Aggregation) or a 10Gbps Uplink becomes mandatory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pro-Tip: Optimize with Private Networking (VLAN)
&lt;/h2&gt;

&lt;p&gt;Advanced devs save public bandwidth for customers and use Private Networking for internal tasks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Ingress: Data coming IN (usually free at iRexta).&lt;/li&gt;
&lt;li&gt;VLAN: Use eth1 for DB syncs and backups. It's unmetered and doesn't touch your public 1Gbps/10Gbps pipe.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;strong&gt;What’s your current network setup?&lt;/strong&gt; Are you running on shared "Unlimited" pipes or dedicated unmetered ports? Let's discuss in the comments! 👇&lt;/p&gt;

&lt;p&gt;Originally published on &lt;a href="https://www.irexta.com/blogs/website-bandwidth-vs-data-transfer-guide/" rel="noopener noreferrer"&gt;iRexta Blog&lt;/a&gt;&lt;/p&gt;

</description>
      <category>networking</category>
      <category>devops</category>
      <category>infrastructure</category>
      <category>servers</category>
    </item>
  </channel>
</rss>
