Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
Building a Secure Password Reset Flow
A secure password reset flow prevents account takeover while remaining usable. This article explains practical architect...
Session Management: Cookies, Tokens, and Expiration
Practical guidance on session management covering cookies, tokens, expiration strategies, and operational tradeoffs for...
Input Sanitization and Output Encoding for Developers
Input sanitization and output encoding are essential defenses against injection and XSS vulnerabilities. This article ex...
Threat Modeling a New Feature Before Coding It
Threat modeling a feature before writing code reduces rework, surface security risks early, and guides architectural cho...
Secrets Management in Local Development and CI
Practical strategies for handling API keys, credentials, and certificates during local development and continuous integr...
Secure Dependency Updates and Supply Chain Hygiene
Protecting projects requires disciplined dependency updates and supply chain hygiene. This article explains why automate...
Software Bill of Materials for Application Teams
A Software Bill of Materials (SBOM) helps application teams inventory dependencies, manage risk, and meet compliance. Th...
Security Headers and Browser Protection from an Engineer's View
Security headers are lightweight HTTP controls that harden web applications by instructing browsers how to behave. This...
Cross-Site Scripting: Prevention in Modern Applications
Cross-Site Scripting remains a top web risk. This article explains why XSS matters now, core prevention strategies, feat...