Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My security
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

SSH Keys Explained: How They Work and How to Use Them Safely

SSH Keys Explained: How They Work and How to Use Them Safely

Blog Summary

Bots try passwords on every server, all day. SSH keys make that pointless. Here's how key pairs work, a step-by-step ed25519 setup, the sshd_config gotcha that keeps passwords on, and habits that keep keys safe.

Read more
  • 149
  • 113
  • 19

Mass Assignment in Laravel: The Bug Hiding in Your create() Call

Mass Assignment in Laravel: The Bug Hiding in Your create() Call

Blog Summary

One extra field in a registration request, is_admin=1, and a stranger is an administrator. How mass assignment works in Laravel, why $guarded = [] plus $request->all() is a trap, and the habits that close the hole.

Read more
  • 31
  • 77
  • 9

Me vs CORS: A Love Story in Five Bad Ideas and One Good One

Me vs CORS: A Love Story in Five Bad Ideas and One Good One

Blog Summary

Every developer's relationship with CORS goes through the same stages: denial, wildcards, browser flags and bargaining. Here are the bad ideas we all try, why they fail, and the boring fix that actually works.

Read more
  • 97
  • 143
  • 23

Seven AWS Mistakes Small Teams Make (and the Afternoon Fix for Each)

Seven AWS Mistakes Small Teams Make (and the Afternoon Fix for Each)

Blog Summary

Small teams don't get hacked or surprised by the bill through exotic attacks. It's root logins, public buckets, open SSH ports and backups nobody has restored. Seven common AWS mistakes and a quick fix for each.

Read more
  • 84
  • 141
  • 9

Webhooks: How They Work and How to Make Them Reliable

Webhooks: How They Work and How to Make Them Reliable

Blog Summary

A webhook endpoint takes ten minutes to write and months to get right. How webhooks work, and five rules for reliable ones: HMAC signatures, fast responses, duplicates, out-of-order events and visible failures.

Read more
  • 43
  • 110
  • 12

OAuth 2.0 Explained Without the Jargon: The Valet Key Guide

OAuth 2.0 Explained Without the Jargon: The Valet Key Guide

Blog Summary

OAuth is a valet key for your data: it lets an app park the car without reading your mail. The authorization code flow with PKCE explained step by step, plus scopes, tokens and OAuth vs OpenID Connect.

Read more
  • 59
  • 46
  • 19

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close