In short, I have no clue how to google this or what to use. I've never heard of anyone doing something like what I want/need and was wondering if any of the lovely smart folk on these forums knew better than I did.
Basically, I'm planning on (eventually) getting a small home server to store files and such, much like a NAS or Cloud. However, what I was wondering was if there was a way to set it up to allow friends elsewhere in the world an account with their own set folders (possibly locked or passworded somehow?) that they can set up how they want and an easily laid out folder structure. For example, something like this if it makes sense: (excuse the rushed MS Paint)
The server will probably most likely be used most for pictures and some videos, though ideally it would just be an open use whatever fits on the server kind of deal, giving everyone a little extra space to back up phones or what not if they don't have it. I know this is possible, but I've never looked into stuff like this.
The tricky part, however, is if I can I could also make a web server connected to this. For example, having a pictures folder that you could browse as a gallery in Chrome under something like "homeserver.com/gallery/friend2/vacation2015" or something. I realise I would probably have to design my own website and everything, or possibly just give everyone a subaddress without any real main hub page if that makes sense, but I'll get to that when it comes to it and I want to know if it's possible or not before I waste a few days searching for the best solution.
Thank you to anyone that drops their knowledge on the situation, I'm completely lost as of right now!