ModSecurity for web-application firewalls
ModSecurity for web-application firewalls
Posted Dec 17, 2016 4:50 UTC (Sat) by dune73 (guest, #17225)In reply to: ModSecurity for web-application firewalls by smurf
Parent article: ModSecurity for web-application firewalls
The real world rules for free text fields are a bit more complex.
Posted Dec 17, 2016 11:15 UTC (Sat)
by anselm (subscriber, #2796)
[Link] (1 responses)
Actually, people may not even have surnames. Fortunately the original regex takes that into account; let's hope that the actual application does, too.
Posted Dec 18, 2016 4:57 UTC (Sun)
by dune73 (guest, #17225)
[Link]
It is tempting to do the full input validation via ModSecurity rules. But the client and the application are in a much better position to do so. Not having a surname is a typical example. It's up to the application to decide what to do with such a registration. ModSecurity should concentrate on security and leave people without a surname alone.
ModSecurity for web-application firewalls
ModSecurity for web-application firewalls