
Expose Self-Hosted Services Safely with Cloudflare Tunnel
How I reach my homelab and VPS from anywhere with zero inbound ports open — cloudflared config, ingress rules, and Zero Trust access policies.
Blog
Articles on application and infrastructure security — secure pipelines, authentication, and practical security engineering.
11 articles

How I reach my homelab and VPS from anywhere with zero inbound ports open — cloudflared config, ingress rules, and Zero Trust access policies.

How eBPF runs sandboxed programs inside the Linux kernel without modules, and how Tetragon turns that into process, network, and file visibility on Kubernetes.

A real IDOR in a multi-branch ERP: how a detail endpoint that fetched by id alone leaked another branch's revenue, and the branchId-scoping fix I rolled across every Prisma module.

How to verify NIK/KTP identity against Dukcapil through authorized providers, add face-match and liveness, and handle sensitive data under UU PDP.

How I lock down Linux daemons from the outside using systemd's built-in sandbox — filesystem, temp, privileges, and syscalls — then measure the result.

How to keep API keys and database credentials safely inside a Git repository using SOPS and age, with per-environment keys and CI decryption.

A practical blueprint for rotating credentials automatically, using short-lived and dynamic secrets, dual-secret cutovers, and fast leak detection so audits stop being a scramble.

How to generate SBOMs, sign artifacts with Sigstore and cosign, verify SLSA provenance, and enforce all of it as a CI gate.

A practical walkthrough of adding passkey login to a Next.js app: the WebAuthn registration and authentication ceremonies, storing credentials safely, and what to offer users whose devices do not support passkeys.

A technical deep-dive into implementing Zero Trust security in Kubernetes environments using mTLS, SPIFFE/SPIRE, and network micro-segmentation. Includes BSSN compliance context for Indonesia, Istio PeerAuthentication configuration, and practical guidance on avoiding security theater.

Indonesia's Personal Data Protection Law (UU PDP No. 27/2022) became fully enforceable in October 2024, with penalties up to Rp 20 billion. This guide translates UU PDP's five core obligations into concrete engineering practices: pseudonymization, PostgreSQL RLS, audit logging, and data subject request APIs.