It is quite important to validate user input server-side for security
reasons. Anything that will be used to form part of an SQL query or
command must be checked. Client-side filtering is fine to prevent
unnecessary round trips but it won't block malicious software spoofing
a web browser.
I therefore recommend both.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.