amazon-s3

Flash: Accessing private files from Amazon S3

I have flash (AIR) application running on a single controlled system (there is only one computer running it and nobody has access to it). I will host some files on Amazon's S3 and I need to make sure that only my flash app running locally on that computer can access those files. I'm wondering what the best (most secure) approach would ...

How do I get a bucket by name in the .Net S3 SDK?

I'm trying to find a method using the Amazon S3 SDK for .Net to get a bucket by its name. All I can find is ListAllBuckets(), but I really don't want to have to do that then try to find it from the response. ...

Why isn't a JS file hosted on Amazon S3 getting cached by the browser?

I have a JS file hosted on Amazon S3 (http://s3.amazonaws.com/wingify/vis_opt.js). I want the file to be cached on users' browsers so that they don't have to download it with every page view. However, in spite of setting Cache Control header I don't think it is getting cached. Browser still contacts Amazon Server with every pageview. He...

Does Amazon S3's HTTP Uploads feature support web-hook style callbacks?

When uploading files to Amazon S3 using the browser http upload feature, I know I can specify a success_action_redirect field/value that will tell my browser where to go when the upload is done. I'm wondering: is it possible to ask Amazon to make a web hook style POST request to my web server whenever a file gets uploaded? Basicall...

Selecting keys based on metadata, possible with Amazon S3?

I'm sending files to my S3 bucket that are basically gzipped database dumps. They keys are a human readable date ("2010-05-04.dump"), and along with that, I'm setting a metadata field to the UNIX time of the dump. I want to write a script that retrieve the latest dump from the bucket. That is to say I want the the key with the largest u...

Will mod_rewrite to an image on another domain cost bandwidth for the original domain?

I want to use mod_rewrite to include a date in an image filename, so browsers will know to refresh an image anytime it's changed, despite any expires headers. My rewrite rule is RewriteRule ^images/[0-9]+/(.*)$ http://my-amazon-bucket.s3.amazonaws.com/$1 which should turn something like http://example.com/images/2010-08-11/example-i...

Which is better, save a website images on Amazon S3, Flickr or Picasa?

I have a website and going to extend it, so users will upload their images on this website, i want to save users images in another storage service. Users will save images and view them, and also share with others. I know that i can do that using Amazon S3, Flickr or Picasa. But i want to know which is better than which? which one shou...

C# code to GZip and upload a string to Amazon S3

Hello. I currently use the following code to retrieve and decompress string data from Amazon C#: GetObjectRequest getObjectRequest = new GetObjectRequest().WithBucketName(bucketName).WithKey(key); using (S3Response getObjectResponse = client.GetObject(getObjectRequest)) { using (Stream s = getObjectResponse.ResponseStream) ...

How to securely serve S3 files to blog

I'm starting a blog and i'm in the process of choosing where should i host it. For now i want a free solution like Blogger or Wordpress.com. The problem i'm facing is that i want to use files i have in a S3 bucket in my blog but none of the blog solutions i found supports any kind of server code, which means that in order to use S3 quer...

CSS not displayed depending on page

I have a friend that has a really strange issue with my website. When he clicks on http://www.copeo.fr/ the page displays fine but when he clicks on a link like www.copeo.fr/user/ the CSS is not applied even after a refresh. The raw html does display. I asked him to display the CSS that is hosted on amazon S3 hcopeoressources.s3.amazon...

Distributed datastore

We're trying to add some kind of persistence in our app. The app generates about 250 entries per second. Each of these entries belong to one of 2M files. For each file, we want to keep the last 10 entries, so we can look them up later. The way our client application works : it gets a stream of all the data it fetches the right file (...

Amazon S3 enforcing access control

I have several PDF files stored in Amazon S3. Each file is associated with a user and only the file owner can access the file. I have enforced this in my download page. But the actual PDF link points to Amazon S3 url, which is accessible to anybody. How do I enforce the access-control rules for this url?(without making my server a prox...

Large file download for a Rails project

One client project will be online two months later. One of the requirements changed is to support large files (10 to 15MB per RAW camera file, expected 1000 to 5000 files download per day) download worldwide for their customers. The process will be: there is upload screen via paperclip to the rails local public folder a hourly task to ...

Amazon secret keys and Heroku

I'm using S3 in this application for uploaded files, as Heroku has a read-only filesystem. How can I give my s3.yml to Heroku, but avoid checking it into the main repository? ...

Loading Amazon S3 images into Flex with temporary / signed URLs

I have some secure images on S3 that I need to load into Flex. I was expecting to be able to do this using signed temporary URLs but can't get it working. I know the URLs I'm generating are correct, because they load fine in my browsers' address bar. Moreover, Flex has no problem loading my images with a non-signed url when they are pu...

Creating Amazon EBS volumes using existing snapshot is creating problems

Hi All, I created a EBS volume, attached and mounted it on a EC2 instance. Created few sample text files in the mounted directory and took a snapshot from AWS console. Problem is when I create a new EBS volume using this snapshot and mount this new volume, I am not seeing the stored content (in snapshot). What can be the issue? Is my ...

Amazon S3 components for Delphi 2010

Besides the Amazon Integrator from /n software, are there any other Amazon S3 components available that can be used with Delphi 2010? I would use the one from /n software, but it has some issues (e.g. GetObjectInfo doesn't work if the object is stored in a specific location) and limitations (e.g. copying objects doesn't let you define re...

Is there any mercurial hosting actually *on* Amazon EC2?

I need to be able to update my ec2 instance from a label in mercurial when it resets so my application is always set at the right revision. It'd be great to be able to push my changes to a mercurial host and have my instances automatically update across the ec2 network when they are reset! I really don't want to host mercurial on the s...

How can I tell how many objects I've stored in an S3 bucket?

Unless I'm missing something, it seems that none of the APIs I've looked at will tell you how many objects are in an S3 bucket / folder(prefix). Is there any way to get a count? ...

Publishing to Amazon S3 with Espresso

I've been looking around to get some clarity on this but it seems like I'm the only stupid one having a problem with it. Case is, I can't connect to Amazon S3 with Espresso. Or I think the case is rather that I don't know how to. I mean, I have my username, access key and secret key. Espresso asks for the username and password. So which...