Lurker News

Comments (26) 11 threads

Show all comments

Showing thread 4 of 11

cozzyd3 replies#
I'm starting to think I should add authentication to my grafana reverse proxies in case an unauthenticated exploit ever comes about... (these are all pretty unserious privesc problems, which is not a problem in my case since all users can be admins anyway...though perhaps it's a problem for service accounts?)
nh21 reply#
Of course, why would you NOT run all that internal stuff at least behind HTTP Basic Auth or a VPN?
danlitt3 replies#
For self-hosted stuff, it's nice to be able to share things with friends/family. For a long time there wasn't really much to worry about.
cozzyd3 replies#
It's for particle astrophysics experiment monitoring pages. It makes it more annoying for collaborators (who are all at different universities across the world) to add two authentication steps

Continue this thread — 3 replies

boardwaalk#
Sure, and it's easy to do that and still do auth. Use Oauth and and whitelist emails/subdomains or something. Once you get that setup once you csn put it in front of everything and not bother with the Swiss cheese garbage one-off auth most web apps have. We should fire it all into the sun.
hadlock#
You can bake oauth into the load balancer these days, no reason to expose the next layer down
lokar#
If you need further convincing, spend an hour reading the source.
ibizaman#
This is the whole goal of my SelfHostBlocks project. It’s a NixOS server management tool to declaratively setup SSO and LDAP integration, among other things. Its main advantage is that all these integrations are thoroughly tested using Playwright in NixOS.

Even if you don’t end up using it, check the source code. Since everything is tested, you’re sure it works. First link here goes to the source code https://shb.skarabox.com/blocks-monitoring.html