feoblog icon indicating copy to clipboard operation
feoblog copied to clipboard

Web-based server admin?

Open NfNitLoop opened this issue 4 years ago • 1 comments
trafficstars

Right now, user administration is performed via the CLI. That's not terrible for a server run by a programmer for a few of his friends. But others might prefer a web-based UI.

How do we do this?

  • Re-use nacl crypto, and create a special "server admin" UID?
  • How do we prevent replay attacks?

NfNitLoop avatar Jan 21 '21 01:01 NfNitLoop

More points in favor of having a "Server Admin" ID/profile:

I'm redoing the navigation so now every page has a heading to give you some context about what you're viewing. So now the "home page" has a title. What should the title be? To stay generic, I'm just using the host name from the URL bar. But if we had a "Server Admin" ID, it could have this kind of metadata to help set up the server's name and info.

It could also contain the server metadata that's currently manually maintained from the CLI, such as adding users, and determining which users are visible on the home page. (Though one downside to that is that that user list then becomes public.... unless I want to add encryption to the mix? Hmm.

Servers could also list backup locations in case they're ever taken down.

NfNitLoop avatar Apr 09 '22 18:04 NfNitLoop