Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7835075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:28:09+00:00 2026-06-02T13:28:09+00:00

What would be a scalable file upload/download system/database? I’m building a website where users

  • 0

What would be a scalable file upload/download system/database?

I’m building a website where users can login, upload images that are private, but truly private. I can’t upload them to a map on the harddisk of a server, since that would not scale (what happend if we add more servers?) and it wouldn’t be private since everyone could go:

http://127.372.171.33/images/private_picture.png

and download the file.

I am building the project in Play Framework (scala/java)

How do websites like flickr handle these kind of things? Do they put them in a database? And what kind of database would be suitable for this situation?

Thanks for help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T13:28:11+00:00Added an answer on June 2, 2026 at 1:28 pm

    I can’t tell you how those big sites handle it but putting those images into a database might be one way.

    Another way would be to put the files into a virtual filesystem that spans a cluster of servers or distribute them onto different servers and just don’t make the directories that contain the images visible to the webserver. Thus nobody should be able to open the image just using the server and the path on that server.

    To actually deliver the images you could them implement some streaming service that sends a bytestream to the browser for display (like the webservers would do as well). This service could first check the download permissions for the requested image.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What would be good/scalable user session alternative in following scenario: users don't have to
I am planning to develop a system that would predict the mood of a
Which amongst these would be well suited for a scalable server side TCP socket
Would it be possible to add a new operator to the String class that
Would you consider it bad practice to store various user data in a database
Would it be possible rollback transactions using Transactionlog file for a particular record? I
Would anyone offer tips, links, code snippets on how to browse to a file
What would be a scalable and low resource solution to apply multi-language in my
I am in need of a scalable and performant HTTP application/server that will be
I would like to learn about linux/Unix kernel programming for scalable multi processors (smps).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.