For a simple web application in a home automation scenario, basic authentication can be a sufficient solution. Setting up a REST API and a web app with Flask is very easy, and adding basic authentication requires just a few more steps that can be reused between different applications. Continue reading →
My Raspberry Pi has turned into a central hub for automation and connections to various devices at home. As I want to expose some services outside of the local LAN, I run into the risk of being hacked. So what can we do to secure the Raspberry Pi from intruders?