News for hackers. Stuff that matters.
Re:Don’t try to sanitize input – escape output by Alex3917 on Thursday February 27, 2020 @11:18AM (#22434536)
> You should do both.

You should really do all three:

1) Sanitize input on the server.

2) Use a CSP to prevent your browser from rendering any asset unless specifically whitelisted.

3) Use your front end framework to sanitize text being displayed.

There are no comments on this comment yet.