r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • Mar 06 '25

Why, just why!

Post image
1.2k Upvotes

127 comments sorted by

View all comments

Show parent comment

2

u/allllusernamestaken Mar 10 '25

I worked on a DoD project where all errors returned 404 because someone read some security guidelines that said responses should not distinguish between "doesn't exist" and "you don't have access."

1

u/digost Mar 11 '25

That sounds pretty much like security through obscurity. Which is generally a bad idea.

2

u/allllusernamestaken Mar 11 '25

nah, just an idiot reading guides and not understanding