Coding & Cybersecurity Blog

Practical guides, worked examples and learning exercises. Browse 128 articles.

Web Security

Threat Model a File Upload Feature Before Building It

Map trust boundaries in a file upload workflow. Examine file validation, storage, download authorization and processing limits with a practical checklist.

  • threat modeling
  • file uploads
  • application security
  • authorization

Networking

Troubleshoot DNS in Wireshark with a Small Local Lab

Use Wireshark display filters to follow DNS questions and answers. Distinguish NXDOMAIN, missing responses and caching in a controlled exercise.

  • wireshark
  • dns
  • network troubleshooting
  • packet analysis

Digital Forensics

Build a Digital Evidence Manifest for a Practice Case

Document training evidence with identifiers, hashes, acquisition notes and custody events. Learn what a manifest records and what it cannot prove.

  • digital forensics
  • evidence manifest
  • chain of custody
  • sha256

Web Development

Responsive CSS Card Grids with minmax and auto-fit

Create a responsive card grid with CSS Grid, minmax and auto-fit. Prevent narrow-screen overflow and test long content without fixed card heights.

  • css
  • css grid
  • responsive design
  • layout

JavaScript

Prevent Stale Search Results with AbortController

Cancel superseded fetch requests and prevent old responses from replacing newer search results using AbortController and a request sequence guard.

  • javascript
  • abortcontroller
  • search ui
  • async

Data Analysis

Handle Missing Values in pandas Without Inventing Data

Distinguish missing data from zero in pandas. Use nullable types, explicit completeness checks and business rules before filling or dropping values.

  • pandas
  • missing values
  • data quality
  • nullable types

Python

Summarize Application Logs with Python Counter

Turn synthetic log records into a status summary using Counter. Learn parsing rules, rejected-record counts and why aggregates need context.

  • python
  • logs
  • counter
  • observability

Explore structured courses and learning paths