Hacker News new | ask | show | jobs
by cortesoft 2141 days ago
You joke, but an ex-security guy at my company literally told me “this file can’t be in plain text on disk. Base64 encode it”
2 comments

Base64 encoding does protect somewhat against "looking over your shoulder" attacks

(Unless the person looking over your shoulder has a really good memory and can remember the Base64, or decode it in their head. Or they have a camera.)

Helps against attackers grepping the whole disk (or any folder named "conf" or similar) for "username", "user", "password", "pass", "key" and friends.

It's game over anyway if someone has a shell on your server but at least it complicates their life a bit.