I recently posted a question in a forum looking for web hosting companies in my community of Vancouver, Canada. I, like most people shopping for web hosting, was looking for good value for money with reliability, service and price, but there was one other key thing I was looking for (more…)
June 7, 2009
June 5, 2009
Secure Javascript Form Validation with Mootools
Did I get you with the title? That’s right, it’s not possible to securely validate a form with Javascript. That is, you can’t prevent invalid data from being submitted to the server by using Javascript for validation. We’ve all seen Javascript-based form validation classes (and classes for Javascript libraries like Mootools, which is my favourite, so I’ll be making reference to it here), but it’s all too often not made clear enough to those who might use such classes that javascript validation alone provides no security against invalid data being sent to your back-end processing script and making it into your database.