46.4. Assignments Security AS.1

Submission
You must submit assignments using git
Create Repo
  • Create an empty repo on bitbucket.org, gitlab.com, or github.com,
  • git push your local repo to the above remote repo.
  • For node assignments the line node_modules/must be in your .gitignore file.
Submit
By email to with:
  • The word 'submission <subjectname>' in the subject line
  • The url(s) of your repo(s) in the body

46.4.1. Assignment Security AS.1.2

Sanitation means cleaning the user entered data for all things detrimental to our application. It could be as simple as making sure enough text was entered, but it could also mean checking that no script tags were entered in input fields or textareas.

Take some time to study https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/forms.

Clone my project nodeauthdemo. Take the registration form from the project. Decide on a sanitation scheme, then implement it. Try various aspects of express-validators functionality.