Open anilv4 opened 7 years ago
Per the README:
task-web
is mostly designed to run locally. As such, security is not of the highest priority. You may find that things such as CSRF protection are lacking. If things like this are important to you, please file an issue or a pull request.
As things stand today, it's not recommended to run task-web
Internet-facing. If you want to run it on a VPS, your best route is to block most incoming traffic to your VPS and connect to it from your client machine using VPN or an SSH tunnel.
I'm using http basic auth for that purpose. Brute-force attacks could be handled with something like fail2ban. The only thing I would like to add to my setup is SSL to secure credentials.
Along the same lines, I want to host this behind nginx, is there a way to force it to only only be served on localhost? I can block public traffic on on 5678 but I'd rather it not be served at all.
Try to run it with --host
argument:
$ task-web --host 127.0.0.1
What are the steps I have to follow to secure taskwarrior web when I host it on a VPS for personal use?
Thanks, Anil