Sitemap
Javarevisited

A humble place to learn Java and Programming better.

Member-only story

10 Popular Security Practices That Do More Harm Than Good

10 min readSep 13, 2026

--

I am a software developer and security enthusiast. I have built authentication and payment systems for banks. Getting security wrong there gets expensive fast.

I have also sat on the other side of the table, reviewing other teams’ code during security audits.

Both roles taught me the same lesson. Most insecure code does not come from careless developers.

It comes from careful developers following advice that used to be correct.

Press enter or click to view image in full size

I have also made some of the security mistakes in my code earlier. And I have learned my lesson the hard way.

Non-medium members click here to read for free.

Over years of auditing code and writing it, I have seen practices that sound right but are wrong.

Here are ten of those, and what I use now instead.

You wrote this check in your code. You own passwordChangedAt and the redirect that fires once 90 days pass.

--

--

Vinod Pal
Vinod Pal

Written by Vinod Pal

Just your friendly neighborhood full-stack developer. Building awesome applications, one line of code at a time.

Javarevisited
Javarevisited

Published in Javarevisited

A humble place to learn Java and Programming better.