Please wait while we load your page...


Latest Version [8.00202205221] Last Updated [May-22-2022]

Webmaster Tutorials

Definition [Secure Form Validation]

Protect Your Website Today

Secure Form Validation

Form validation should always be done both on the browser and server side. The browser (using client-side JavaScript) can catch simple failures like mandatory fields that are empty, and when you enter text into a numbers only field. These can, however, be bypassed: for example, if JavaScript disabled in browser. You should make sure you revalidate and perform deeper validation via server-side validation (after form submitted). Failing to do so could lead to malicious code or scripting code being inserted into the database or website. Better to side with caution. Better to over-validate rather than under-validate, and server-side validation should always be employed: especially if the form sends emails, writes to files, or writes to a database.

Random Security Blog Articles

PasswordSentry :: Security Blog Articleby Renee Dudley and Daniel Golden ProPublica is a Pulitzer Prize-winning investigative newsroom. Sign up for The Big Story newsletter to receive stories like this one in your inbox. Series: The Extortion Economy U.S. Companies and Ransomware On Jan. … Read More
PasswordSentry :: Security Blog ArticlePhishing. What is it? And how to protect yourself from it. Let’s say you get an email from your bank. You’ve gotten email from your bank before, but this one stands out from the others. It says “Changes were made … Read More
PasswordSentry :: Security Blog ArticleWill justices seek to hold social media firms to account for the postings of terrorists? AP Photo/Patrick Semansky Michael W. Carroll, American University “These are not, like, the nine greatest experts on the internet,” noted Justice Elena Kagan – … Read More