I've kind of just discovered that because ValidateRequest = true by default, that by default, you cannot enter "<" or ">" into any input field.
Not knowing too much about XSS attacks, for me, that seems quite restrictive.
To get around that, I've realized I can use validateRequest = false, and to encode the user data. Obviously, Microsoft has a good reason to put validateRequest = true, so the problem now is I have a whole site with lots of pages, all with this "can't put < or > problem".
My question is do I only have two options?
1) Leave validateRequest = true and not allow the user to enter < or > at all 2) switch validateRequest = false and take preventative measures.
If for 2, am I meant to encode all data input? Like from text fields from logins and passwords to user text to search criterias? Or do I only need to do it to some of the input? If so, which fields should I target?