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
• 2,870 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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[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,360 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,430 points
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
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket.….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,120 points
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,120 points
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,520 points
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,360 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.