Don't Break Your Data, Use Form Validation

May 25, 2017

Form validation is a simple thing: it is the process of ensuring that user input is correct, clean and useful. W3 Schools are providing examples of typical validation tasks: has the user filled in all required fields; has the user entered a valid date; has the user entered text in a numeric field.

In a nutshell: the main purpose of data validation is to ensure correct user input. We can isolate two sides of the data validation: server and client side. Server side validation is performed by the server, after input has been sent to the server, client side validation is performed by the browser, before input is sent to the web server.

If you undervalue the form validation, you might be wrong. It is absolutely required in order to prevent a web site abuse by malicious users or manipulative provided information. Validation of form data is the major reason for security vulnerabilities: automated input, SQL injections, hidden field manipulation, header injections and buffer overflows.

Read more on Medium.com

Extensions

Mentioned Extensions

Boris Rangelov

Boris RangelovIf we should describe Boris with one word, he is a digital enthusiast with broader experience in frontend web development using modern technologies - HTML5, CSS3, JavaScript (ES6, jQuery, Angular.js), PHP. He is part of DMXzone and contributing to the community as one of you.

See All Postings From Boris Rangelov >>

Comments

Be the first to write a comment

You must me logged in to write a comment.