in-toto / layout-web-tool

A flask app that helps to create, modify and visualize in-toto layouts.
MIT License
2 stars 8 forks source link

Sanitize user input #5

Open lukpueh opened 7 years ago

lukpueh commented 7 years ago

We persist most of the user posted information as is. While there shouldn't be any SQL (mongodb with very simple queries) injection problems (please prove me wrong!) some data just doesn't make sense in the scope of in-toto.

Therefor we should sanitize/validate user inputs, and give feedback, so that the user can correct the posted data, some examples.:

lukpueh commented 7 years ago

We should take a look at Flask-WTF for this task