Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ungamedplayer
· 2y ago · 0 comments
The reason you sanitise input is because the data can attack the host and the client.
This post has a narrow view on attackers.
Comments
[–]
sfvisser
2y ago
It’s really not. The point is that sanitizing output is a better way to protect the host and the client.
[–]
worthless-trash
2y ago
Sure, keep writing exploitable code then, have fun!
[–]
cowboylowrez
2y ago
yes, and the article clearly agrees with you, different destinations of the data have different escaping requirements.