There's a website where registered users can upload images. What is the best practice: Making server-side folders for each user and place their uploaded pictures there. Or making one big folder with all uploaded images and giving them an id (000000001.png --> 9999999999.png) and register in a database which image belongs to which user?