root/sudo
virtualenv
is a best practice for python, but installation can also be on a user/global
level.root/sudo
user
user
localhost
to restrict outside access. Securing a Python flask application from malicious break in attempts is tedious and would be an ongoing effort.