How to avoid a potentially dangerous client input value?
Hi !
I have some doubts about this subject.
1. Now I only use javascript client side form validation. I need to use always server validation ?
2. Is it a recommended practice of using server validation with javascript code and regular expressions?
3. Is it better to maintain the javascript client side validation and to add server validation for security reasons? (Duplicate validation)
One person has recommended me that I never build the sql query as a string. I can' t use this?:
Code:
Dim citiesName As string = "Select field1, field2 From Cities Where field1 = @Param1"
Thank you,
Cesar