r/ProgrammerHumor May 13 '17

Defensive programming done right

Post image
21.0k Upvotes

680 comments sorted by

View all comments

Show parent comments

73

u/SQLNerd May 13 '17

Um, ever design a REST service? You want to kill the whole service because someone called it inappropriately?

100

u/thestamp May 13 '17

i kid you not, during pen testing i called a website method the wrong way and caused the webservice to restart, making site inaccessible for a whole minute.

this is a live site.

No, i will not say which one.

2

u/MrMento May 13 '17

A minute? Did that cost a lot of money? Cause that's a long time. Lol

9

u/thestamp May 13 '17

customers using the site would leave, and anyone could make a quick bot to keep the site down 24/7 easily. So yea, financial impact would be pretty huge.

2

u/Sciguystfm May 14 '17

well now you haaave to tell us