rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
309 stars 100 forks source link

password protect #164

Closed dalgatatar closed 4 years ago

dalgatatar commented 4 years ago

any idea use password then open system?

taHC81 commented 4 years ago

Maybe .htaccess?

https://faq.oit.gatech.edu/content/how-do-i-do-basicauth-using-htaccess-and-htpasswd

dalgatatar commented 4 years ago

ı dont know if this working. someone try this?

nhorvath commented 4 years ago

Putting it behind nginx or apache with htaccess is the correct way to do authentication. You should also change it to listen only on localhost or firewall the real port.

On Wed, May 6, 2020 at 4:03 PM seawave notifications@github.com wrote:

ı dont know if this working. someone try this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/164#issuecomment-624860734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIJXEIXWNK5VPTVSPII4TRQG7CPANCNFSM4M2XHT6Q .