-
-
Notifications
You must be signed in to change notification settings - Fork 272
Description
Most popular web servers like nginx, apache supports basic auth mechanism. I think you know what I mean already.
I understand that currently script-server already supports LDAP, Google Oauth. But what If user doesn't use them? Basic auth would be most suited and simple use case here. Of course, script-server shouldn't be used without any authentication. I don't know much about basic auth's security details, but I heard if it's used with SSL it's mature enough. Projects like Grafana has great integration with basic auth. If Grafana's web interface is already protected with basic auth, grafana users don't have to enter username, password again if it's already same as basic auth's credentials and they logged in immediately. Script-server has admin, group etc already, so it would be great use case here.
basic auth supports different username and password.
$ cat /etc/nginx/.htpasswd
john:$apr1$ZXg1zeDa$adzaZSxRvjHEAhbvgFebXy45q/
shinebayar:$apr1$2VzvzXkox$hm.Nx6YiZdzzajZdE3HG/