Nathaniel Lewis

Project 12 · Cloudflare Workers

Resume access control, v1: serverless

Three WordPress plugins and an SMTP relay replaced with one Worker on one path.

  • Cloudflare Workers
  • Turnstile
  • Email Routing
  • JavaScript

Problem

The request form depended on three plugins and an SMTP relay.

Approach

One Worker: server-side Turnstile, honeypot, origin check, header-injection stripping.

Result

6 of 6 test cases passed; the PDF was never publicly exposed.

The problem

The invite-only resume request form depended on three WordPress plugins and an SMTP relay.

The approach

Replaced them with a Cloudflare Worker bound to a single path. It verifies Turnstile server-side, filters bots with a honeypot, checks the request origin, strips header-injection attempts, and sends through Cloudflare Email Routing. Deployed with a least-privilege, time-boxed API token from a throwaway container.

The result

6 of 6 test cases passed, including a header-injection attempt. The resume PDF was never publicly exposed. Original WordPress version: github.com/Nlewis0428/resume-access-control.