Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mandelbrotwurst
· 2y ago · 0 comments
Is the idea that the attacker is brute forcing the login method and they are less likely to be successful if the input must be passed in an unexpected format?
Comments
[–]
d_tr
2y ago
Types where the constructor takes care of the rules and aborts if you pass it something stupid (like an empty string for a user name).