by kentonv · 10y ago · 0 comments
There are two reasons we don't like plain username/passwords:
- They are notoriously insecure. If you're running a server with passwords you usually want dedicated staff to deal with account hijackings, which self-hosted servers obviously won't have.
- They are not global identities, i.e. someone else's Sandstorm server cannot authenticate the same identity. So if you transfer an app to a different Sandstorm server (something we aim to make easy), all the identities would have to be replaced with new ones local to the new server, which will probably confuse the app.
With that said, we have been thinking about other ways to solve these problems and we might introduce a plain old username/password option in the future.
I gave up pretty fast on the e-mail option since I had to set up a mail server and it was painful... we use Google for e-mail and it could not use that, and setting up anything else is a many-step time sink.
I did not want sandcats.io but to use this on a private (ZeroTier) intranet. Even for your enterprise offering, which we might be willing to pay for, you still don't have a clear and simple way to auth. For enterprise I have to set up LDAP or other complicated nasty things.
My personal rule for UX:
Each step that must be performed to set something up cuts the adoption rate in half. So if you have an audience of 1000 and 4 steps, 63 people will end up trying your product.
That's not hard science, just a rule of thumb I use to impress upon myself and my team how important UX and zero-config is. It does have some basis in logic. Think of each step as a bit in an integer for 'cognitive load.' Each additional bit increases cognitive load exponentially, not linearly, since the total setup involves the specification by the user of N bits of information.
I do like your rule, regarding people "trying your product", but I don't know if it really applies to setting up a server, because setting up a server of your own is probably the worst way to try something you aren't sure you want to use.
I'd suggest that anyone looking to "try" Sandstorm should be looking at Sandstorm Oasis, which is managed hosting you can try for free. (Along with being an easy place to see "live demos" of any of the apps on it.) If you try it on Oasis, and decide it fits your needs, you're much more likely to implement the additional steps required to configure it how you want it on your own hosting.
I don't think I'd ever personally put in the effort to set up something self-hosted until I already had "tried it".
While there are definitely platforms that work with just a username and password, they are arguably drastically less safe in that scenario.