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, 2019 in AWS by datageek
• 3,090 points
2,595 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, 2019 by Archana
• 5,640 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,540 points
53,584 views
0 votes
1 answer
0 votes
1 answer

Deleting logs file in Amazon s3 bucket according to created date

You can use S3's Object Lifecycle feature ...READ MORE

answered Feb 17, 2022 in AWS by anonymous
1,733 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
• 58,020 points
5,946 views
–1 vote
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
• 58,020 points
5,200 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,820 points
2,863 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,640 points
1,043 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP