Blog

Notes on DevOps, Kubernetes, self-hosted infrastructure and consulting.
30 posts tagged security · clear filter
December 1, 2026
Moving to Passkeys: Choosing the RP ID, User Verification, Synced Keys and Account Recovery
Adding passkeys is more than two browser calls. The RP ID decision you cannot undo, the UV flag the server must read, the zero counter of synced keys and the re...
security kimlik dogrulama backend
Read more →
November 26, 2026
Enforcing Transport Encryption in SMTP: MTA-STS, DANE and TLS-RPT, Which and How
Server-to-server email encryption is opportunistic by default, and an active attacker can strip STARTTLS with ease. How MTA-STS and DANE close the gap, which on...
email DNS security
Read more →
November 24, 2026
Storing Passwords Properly: Argon2id or bcrypt, Measuring Parameters, Pepper and Upgrading Old Hashes
When the database leaks, the cost of the hash function is the only thing protecting passwords. Measuring Argon2id parameters on your hardware, concurrent logins...
security backend password storage
Read more →
November 23, 2026
Pod Security Standards and securityContext in Kubernetes: Non-Root Containers, Read-Only Filesystems and a Migration That Breaks Nothing
How to write a pod that satisfies the restricted profile, how to prepare the image, how to move Pod Security Admission from warn to enforce on an existing clust...
Kubernetes containers security
Read more →
November 20, 2026
Hardening GitHub Actions Workflows: Token Permissions, Script Injection, pull_request_target and SHA Pinning
Your CI pipeline is the most privileged code in your repository. Default token permissions, script injection through expressions, triggers that run fork code wi...
CI/CD security supply chain
Read more →
November 16, 2026
Token Lifetimes and Logout in OIDC: Short Access Tokens, Refresh Token Rotation, Concurrent Refresh and Back-Channel Logout
The hours after login: why access tokens should be short, why refresh tokens belong outside the browser, why users get logged out at random once rotation is on,...
security OIDC backend
Read more →
November 11, 2026
SPF, DKIM and DMARC Alignment: Why Mail Lands in Spam When Every Record Looks Green
SPF checks the envelope sender, DKIM the signer, and DMARC whether either aligns with the From line. Why alignment should rest on DKIM, step by step record exam...
DNS security operations
Read more →
November 10, 2026
Deploying Content Security Policy Without Breaking Your Site: Nonces, strict-dynamic, Hashes and Report-Only
Why host-allowlist CSPs are easy to bypass, how to build a nonce plus strict-dynamic policy, how to trial it in report-only mode, and the pitfalls, like cached...
security backend DevSecOps
Read more →
November 9, 2026
Getting CORS Right: Preflight, Credentialed Requests and the Hole Opened by Reflecting Origin
CORS does not block requests, it blocks reading responses; it is neither a server-side firewall nor CSRF protection. Choosing between same origin, an allowlist...
security API design backend
Read more →
November 7, 2026
Unicode Normalization: Strings That Look the Same but Are Not, Choosing Between NFC and NFKC, and Where to Normalize
Two file names that look identical slip past a unique constraint and search only half works. The difference between NFC, NFD and NFKC, normalizing at the bounda...
backend API design PostgreSQL
Read more →
October 19, 2026
Getting HTTP Caching Right: Cache-Control, ETag and Data Leaks in Shared Caches
The difference between no-cache and no-store, the right header per response type, 304s that never happen, and the mistakes that make a CDN hand one user's respo...
performance security API design
Read more →
October 18, 2026
SSH Certificate Authority: Short-Lived Access Instead of authorized_keys, Principals and Host Certificates
As distributed key files grow, nobody knows who can log in where. How to set up short-lived, role-based user certificates and host certificates that end fingerp...
security Linux operations
Read more →
October 16, 2026
Why Published Docker Ports Bypass Your Firewall: UFW, the DOCKER-USER Chain and the Bind Address
UFW reports that every incoming connection is denied, yet a port published by Docker can still be open to the internet. The path a packet really takes, closing...
Docker security Linux
Read more →
October 14, 2026
Ransomware Resistant Backups: Object Lock, Versioning and Separating Writer from Deleter
A backup that production can delete is a backup an intruder can delete. The two object lock modes, append only identities, where the key lives, and how this com...
backups security disaster recovery
Read more →
October 10, 2026
Hardening Services with systemd: ProtectSystem, DynamicUser, System Call Filters and the Options That Break Things
Shrinking a service's attack surface from the unit file without reaching for containers: a starting template, measuring with systemd-analyze security, and the p...
Linux security operations
Read more →
October 8, 2026
The Real Client IP Behind a Reverse Proxy: X-Forwarded-For, Trusted Proxies and Spoofed Headers
Behind a proxy, an application only learns the client address from a header. Reading X-Forwarded-For from the right, defining trusted proxies by address, nginx,...
security backend infrastructure
Read more →
October 5, 2026
Publishing Packages Without Long-Lived Tokens: Trusted Publishing with OIDC on npm, PyPI and crates.io
A publish token sitting in a CI secret leaks, expires and is broader than it needs to be. Trusted publishing swaps it for the CI system's OIDC identity and a to...
CI/CD security secret management
Read more →
October 3, 2026
Zero-Downtime Secret Rotation: Dual Keys, Alternating Users and the Consumers Left Behind
Rotation outages are caused by consumers, not by the value. Overlap windows, dual keys and alternating users, measuring the cutover, and the long-running proces...
secret management security operations
Read more →
September 30, 2026
API Rate Limiting: Token Buckets, Choosing the Right Key and Distributed Counter Pitfalls
Why fixed windows let twice the limit through, why the IP address is a poor key, how INCR plus EXPIRE in Redis can block a client forever, and why you should an...
API design backend reliability
Read more →
September 27, 2026
Custom Domains in SaaS: Ownership Verification, CNAME Targets and TLS Traps
Serving a SaaS from a customer's own domain is not a single CNAME record. Tenant routing, proof of ownership and certificate issuance are three separate problem...
SaaS multi-tenant security
Read more →
September 23, 2026
Automated TLS Certificates with ACME: Validation Method, Rate Limits and State You Must Keep
Choosing between HTTP-01, DNS-01 and TLS-ALPN-01, where Let's Encrypt rate limits will catch you, the state you actually need to back up, and pitfalls like spli...
security infrastructure automation
Read more →
September 19, 2026
Enforcing Policy in Kubernetes: OPA Gatekeeper vs. Kyverno, and When to Use Which
RBAC decides who can act, not whether the object they submit is actually valid. Admission-based policy engines close that gap. We compare OPA Gatekeeper, Kyvern...
Kubernetes security automation
Read more →
September 17, 2026
Trust the output, not the model: a last line of defense for automated content
When we built an automated content pipeline, the hard part was never writing the text but making sure it could never leak internal details. Here is why telling...
security automation leak prevention
Read more →
September 14, 2026
Webhook Design: Retries, Idempotency, and Signature Verification
Webhooks look simple until production traffic exposes three hard questions: delivery guarantees, duplicate events, and sender authenticity. This post covers ret...
SaaS API design security
Read more →
September 12, 2026
When You Actually Need a Service Mesh, and When It's Just Complexity
A decision guide to the real differences between Istio, Linkerd, and Cilium, what actually justifies adopting a service mesh, and the concrete pitfalls that sho...
Kubernetes architecture security
Read more →
September 11, 2026
What You Gain and Lose With an Immutable Operating System
A look at the three main approaches to read-only, image-based operating systems: what they actually buy you, and the costs that only show up after adoption.
Linux infrastructure security
Read more →
September 10, 2026
Identity and Authorization in SaaS: Single Sign-On, Roles, and Tenant Boundaries
In a multi-tenant SaaS product, authentication, role, and tenant boundary are three separate axes. How to pick an identity model, how to match tenants during OI...
SaaS security multi-tenant
Read more →
September 8, 2026
Cilium and eBPF: What Changes in Network Policy and Observability
Why iptables-based network policy runs into scaling walls in large clusters, how eBPF fixes that, and what Cilium's identity-based L7 policies and Hubble's side...
Kubernetes security observability
Read more →
September 3, 2026
Gateway API: What Changes After Ingress
Ingress has carried the same three or four fields for a decade, and everything else got bolted on through controller-specific annotations. Gateway API splits th...
Kubernetes DevOps architecture
Read more →
September 1, 2026
Secret Management in Kubernetes: Which Approach Fits Where
Kubernetes' built-in Secret object is not encryption. Here is how to choose between Sealed Secrets, External Secrets Operator, SOPS, and Vault's injector based...
Kubernetes secret management security
Read more →
[ ← Back to burak.sh ]