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

  • Home
  • SEARCH
  • 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 8351251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:34:38+00:00 2026-06-09T08:34:38+00:00

I have a distributed system which consists of 2 applications A and B .

  • 0

I have a distributed system which consists of 2 applications A and B.

B calls a particular API of A for which an underlying workflow is executed during which a file a generated and uploaded onto S3. A does a client-side encryption to the file before uploading.The API response to B is the bucket+link location of the uploaded file.

Now at a later point in time B wishes to download the file from S3.

There are 2 ways of doing this –

  1. implementing the download functionality at B‘s end in which case it would need to know the AWS keys that A used to upload.
  2. Have A expose a download functionality to B so that B would not need to have knowledge of the AWS keys that A uses to upload.

Option 2 seems like the correct way to go about doing things.
Is my understanding correct or is there a third more reasonable approach ?

  • 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-09T08:34:41+00:00Added an answer on June 9, 2026 at 8:34 am

    You may wish to consider a “halfway house” using query string authentication. Essentially, when B wants to download the file it makes a request to A asking for a download link. A then generates a time-limited pre-signed request URL which B can then use to download the file directly from S3.

    As you’ve tagged your question “java” I’ll assume you’re using the AWS Java SDK, in which case the method you need is generatePresignedUrl in AmazonS3Client

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

Sidebar

Related Questions

We have a distributed .net system which consists of several solutions, each with different
We have a distributed system, in which two components: A and B, communicate by
I have a distributed client server system which has multiple 'worker' engines and a
I'm working with an API which is distributed as a dll/so file that I
I have a distributed video analysis system, which is composed of: 1. feature extraction:
I am building a distributed system that consists of potentially millions of clients which
I am developing a distributed system which consists of different components (services) which are
I have a binary file on hadoop distributed file system that i want to
I have been researching and have some few ideas about a distributed caching system
I have a distributed C++ application, which is composed of 4 processes spread on

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.