Hacker News new | ask | show | jobs
by AnimalMuppet 27 days ago
Unless you're exposing it to the internet, ever, in the entire future history of the program. Then you kind of have to, in one form or another.
1 comments

You have to, but you probably shouldn’t do it by trying to add the inputs. That opens a door for DDOS attacks.

Returning an error on inputs that are too long (for some definition of it) is the way to go.