Of course, I know that server-side validation is a MUST.
I'm using jQuery to validate form inputs and using jquery ajax to do server-side(PHP) validation at the same time. So I guess it may be safe since it's validating for both sides while javascript is enabled.
Well, here is my problem...
But what if the user has javascript disabled on his browser and if some bad guys try to do something bad from editing my client-side script?
Because i'm making server-side validation through jquery ajax, and i'm planning not to validate them directly in php script(action="some.php") even user's javascript is enabled.
So... does it is still safe?
Sorry for my bad english, hope you don't mind.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…