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 7510875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:21:33+00:00 2026-05-29T23:21:33+00:00

I have a GAE application with a database of users. When one of the

  • 0

I have a GAE application with a database of users.

When one of the user tries to download, say, file myapplication.appspot.com/somefile.jpg, I would:

  1. check on the GAE database whether he is allowed to
  2. if he is allowed, redirect him to a cloud storage bucket of mine from where he can download somefile.jpg
  3. if he is not allowed, return him a 404 error code, and do some magic so that directly trying to download somefile.jpg from the cloud storage bucket does not complete.

Now what’s unclear to me is how to control access to somefile.jpg. How can I restrict the download to this scope of users?

PS: using something else than Google Storage is not an option (for those of you guys who thought about blobstore).

  • 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-05-29T23:21:37+00:00Added an answer on May 29, 2026 at 11:21 pm

    You don’t need to restrict access on a per user basic you can restrict access on a per application (Google App Engine App) basis.
    Every application has a service account, what you can do is set an ACL on the bucket to allow access to the application service account.

    Now all you need to write an handler that would access Google Storage and return the data to the user.

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

Sidebar

Related Questions

I have GAE application and I'd like to download CSV file from Blobstore and
I have a GAE application. A new request is to have a huge database
may i know how portability is gae application. let say i have an application
We have a GAE application that notifies users of sports goal changes and we
I'm pretty new to Appscale and GAE . Say I have a web application
I have a non-gae, gwt application and it have a module that allows users
I have this part of script from my GAE application which uses webapp2, which
I have a gae application (created via GRAILS) which loaded up fine, though my
I have made my GAE application using the development server, but now when I
I have been working on an application using GAE in eclipse and I have

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.