In production environments, using certificates will be much more necessary. https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https has some ideas, and should be documented here in the Wiki