syncstorage-rs icon indicating copy to clipboard operation
syncstorage-rs copied to clipboard

Self Hosted - Node / Account Restrictions

Open KiralyCraft opened this issue 2 years ago • 0 comments

I have successfully set up the current master branch in release mode, with a systemd service and everything. I linked it with Mull on my Android device, and with Firefox on my desktop.

It seems to be working with a traditional Firefox Account (I did not attempt to self-host that one) and a MySQL backend. When setting up the available "nodes" using tools/tokenserver/add_node.py, I allocated 10 slots for me and my friends.

Is there a way of configuring the server in such a way that I can effectively whitelist these 10 accounts? Right now, anyone can just set the server as a sync target and just sync, no questions asked.

If not, would limiting these slots to the number of active users suffice? For example, only allocate 1 slot and "lock" it myself asap. How would one decrease this number without deleting the node/user data? I figured out how to remove nodes, but I can't find how to adjust the capacity properly.

┆Issue is synchronized with this Jira Task

KiralyCraft avatar Sep 28 '23 12:09 KiralyCraft