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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:23:30+00:00 2026-06-03T05:23:30+00:00

I have a bucket with files in it in AS3 . I have access

  • 0

I have a bucket with files in it in AS3. I have access to the PHP API and a server that can send requests to Amazon on command.

What I want to do is grant access to a file in my bucket using an HTTP GET/POST request. From what I understand using this function:

get_object_url ( $bucket, $filename, $preauth, $opt )

I can make the file publicly accessible for the $preauth amount of time at a given URL. I don’t want to do that, I want the file to be privately available at a URL with required POST or GET credentials (deciding who can access the file would be based on a database containing application ‘users’ and their permissions). I understand the security implications of passing any kind of credentials over GET or POST on a non-HTTPS connection.

Is this possible? I could just download the file from AS3 to my server for the extent of the transaction then do all the controls on my own box, but that’s an expensive solution (two file downloads instead of one, when my server shouldn’t have had to do a download at all) to a seemingly easy problem.

  • 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-03T05:23:31+00:00Added an answer on June 3, 2026 at 5:23 am

    The short answer is no.

    You could look at Amazons IAM for some more ways to secure the content especially in conjunction with Cloudfront but essentially there is no way to provide access to content by passing along a username and password.

    Of course, if you are already authenticating users on your site, then you can only supply the signed url to those users. The url only has to be valid at the time the user initiates the download and not for the entire duration of the download.

    Also, if you intend to use your server as a proxy between S3 and the user you’ll be removing a lot of the benefits of using S3 in the first place. But you could use EC2 as the server to remove the extra cost you mentioned – transfers between S3 and EC2 are free.

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

Sidebar

Related Questions

I have a bucket on Amazon S3 where I keep files that sometimes change
I have a bucket with thousands of files in it. How can I search
Say I have the following directories and files in an Amazon S3 bucket (files
I have a bucket with arbitrarily named files and a ruby script that generates
I have created a bucket in Amazon S3 and pointed a cname to its
I have a Flex 3 SWF in one Amazon S3 bucket, which dynamically loads
I have three models that look something like this: class Bucket < ActiveRecord::Base has_many
I have a streaming distribution at s6b99lczhnef6.cloudfront.net on Amazon. The origin is a bucket
In my Android Application i have to download video from Amazon bucket. When I
I have an Email-listening application that handles incoming mails, depending on the Bucket (or

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.