Amazon S3 Expiration Date: Issues with expiration parameter for HTTP queries

0 votes

It's given in AWS Documentation that "All HTTP queries have an expiration parameter that allows you to set how long the query will be valid."

What does that actually mean when applied for a file. For a publicly accessible data object does this mean that the data object itself will not be valid anymore, or that the browser will simply re-cache the object after the expiration date. I am really confused what the statement means. 

What if I don't set an expiration date?

May 15 in AWS by datageek
• 3,040 points
146 views

1 answer to this question.

0 votes

If you are referring to the signed urls for private data stored on Amazon S3,  If files are publicly accessible they can be accessed with a simple url to the file: eg http://s3.amazonaws.com/[bucket]/[key].

However, they can be set to private in which case you need to provide a signed url to access the file. 

 Also, for the file downloads, you'd probably create a new url for each request with the url set to expire only a day in advance to protect your data. However, this does not expire/delete/remove your data stored on S3. It only affects the url to the file. You can go ahead and generate as many urls with different expiry dates as you require.

answered May 15 by Archana
• 5,560 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to list the contents of Amazon S3 by modified date?

One easy solution would be probably to ...READ MORE

answered Aug 21, 2018 in AWS by datageek
• 2,440 points
5,850 views
0 votes
1 answer
+4 votes
5 answers

Usage of Amazon Cloudfront or S3

When to use S3? S3 is like many ...READ MORE

answered Apr 3, 2018 in AWS by brat_1
• 7,080 points
125 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,920 points
294 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 56,920 points
665 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,560 points
465 views
0 votes
1 answer

Using Amazon S3 for the photo storage

Pre-generating different sizes and storing them in ...READ MORE

answered Oct 26, 2018 in AWS by Archana
• 5,560 points
40 views