I just developed a domotic application with Arduino Yun, which exposes a web page at the url:
I configured port forwarding on my router/firewall to access Yun from outside home LAN.
Everything is working fine, but I am a bit worried about unwanted access to my web panel, which controls some hardware in my home.
First of all, I tried to set up restricted access by using .htaccess and .htpasswd files, but I didn't succeed,
is uhttpd service capable of managing it ? What am I missing to make it work ? Any hint on some smart solution to restrict access ?
Second: my app is sharing the same web server of the management interface, I would like to close it completely, to avoid that pointing to the url http://yun_ip_address/ drives the visitor to the Yun configuration interface. In other words restrict the access to the /sd/myapp only.
Thanks in advance,