Improve security on web form
The web-ui proposes some forms to submit data through post requests (web part). Those are security sensitive http://flask.pocoo.org/docs/0.10/security/.
csrf example: http://flask.pocoo.org/snippets/3/
Migrated from T348 (view on Phabricator)