I want to setup a server where documents from users will be uploaded and stored for access from a web interface. I am using a Debian-based web server and will have potentially thousands of users accessing their files. Files will be uploaded via scp or rsync.
What would be the best hierarchical structure for such an application?
Would I need to create a separate user account (and home directory) for each user in order for them to be able to access their own files, but not those of any other user? My concern would be that I may end up with potentially thousands of user accounts and therefore home directories which would take up many assets. Each user only requires one folder to hold all their uploaded files.
What assets (cpu, HDD space, etc) of the server determine how many user accounts I can create?
Thanks