How would I save on a multiplayer server(Having password protected accounts for the players would be good too)?

I would like to know how I would setup a multiplayer server which saves the players data as well as having them some sort of password protected account would work. I know there is lots of stuff I would need to do, but I really would like to find some more information about this than I already have.