Set Cloudflare HTTP Headers in Hugo

In a previous post I wrote about how to set Cloudflare HTTP headers using Cloudflare Workers. In this post, I’ll show you how to do the same thing using Hugo. Thanks to Grok, I learned a nifty trick for setting Cloudflare HTTP headers in Hugo. Instead of using Cloudflare Workers, you can use Hugo’s built-in support for setting HTTP headers. To do so, create the file static/_headers with your header content following Cloudflare’s format. As an example, here’s the content of this site’s static/_headers file: ...

February 19, 2025 · 1 min · 158 words · Chris

Blacklight Privacy Tool

Today on my Mastodon feed, several folks were discussing a new tool by TheMarkup called Blacklight. This tool is billed as a “real-time website privacy inspector” that showcases the ad and tracking tech deployed by a website. I shared this tool with several colleagues and it engendered a stimulating conversation surrounding company commitment to privacy. I argued during this conversation that it would be worse for a company to claim to value customer privacy and then have Blacklight reveal otherwise, than to have made no such claim in the first place. ...

September 22, 2020 · 2 min · Chris

Using Local Fonts - Hugo Academic Theme

The fresh new look of this site is provided by the Academic Hugo Theme. Because I value your privacy just as I value my own, I needed to modify this theme to not make use of Google Web Fonts because use of this service enables Google to further track users. In this guide, I’ll add the Montserrat font by Julieta Ulanovsky as the heading font for this blog: TL;DR - Recap Step 1 - Select font character set and weights using Google web fonts helper Search for Montserrat using the Google Web Fonts Helper app and select the weights desired: ...

September 3, 2020 · 6 min · Chris

Fingerprinting Privacy: Brave vs Firefox

Brave and Firefox bill themselves as privacy champions. How do they fare at fingerprinting protection?

August 20, 2020 · 4 min · Chris

No more Google Analytics

No more contributing to the Evil Empire

January 22, 2020 · 1 min · Chris

Hands on with Brave Browser

Brave, the new Firefox? I’ve been using the Brave browser as my full-time web browser for two weeks now, primarily version 0.21.18. It’s easy to tell the software is not yet at version 1.0, and although I’m not ready for this to replace Vivaldi, I really want it to. Brave is fast. Really fast. It has built-in adblocking and anti-fingerprinting technology. Previously, I’ve relied on uBlock Origin and Privacy Badger for adblocking and anti-fingerprinting. The same ads and trackers are blocked using Brave, but what I really enjoy is the metric that Brave presents on each new tab: ...

March 6, 2018 · 4 min · Chris

Apple VS FBI

Apple gets a lot of flak in the InfoSec community, even though it’s an open secret that much of the InfoSec community has begun to use Apple products. I myself have been using a Mac laptop for the past ten years because they produced the first laptop I thought was worth spending money on. A lot of money. I’m a fan of Apple for more than just their products, however. I admire their stance on social issues that I care about. ...

March 28, 2016 · 4 min · Chris