4 ms·
Amazon S3 Announces Support for Bucket Policies
- drtse4 16y agoDetails here: http://docs.amazonwebservices.com/AmazonS3/latest/dev/Introduction.html#BucketPolicies http://docs.amazonwebservices.com/AmazonS3/latest/dev/Introd...
- cgbystrom 16y agoGreat, now I can actually host my private yum/apt repository on S3. These are the different keys you can use in your bucket policy conditions: aws:CurrentTime — For date/time conditions (see Date Conditions) aws:SecureTransport — Boolean representing whether the request was sent using SSL (see Boolean Conditions) aws:SourceIp — The requester's IP address, for use with IP address conditions (see IP Address) aws:UserAgent — Information about the requester's client application, for use with string conditions (see String Conditions) aws:EpochTime — Number of seconds since epoch. aws:Referer — Same the the HTTP referer field. (from http://docs.amazonwebservices.com/AmazonS3/latest/dev/AccessPolicyLanguage_ElementDescriptions.html#AvailableKeys http://docs.amazonwebservices.com/AmazonS3/latest/dev/Access...)
- petervandijck 16y agoLove it. I just wrote a script last week to loop through 100,000 objects and adjust the policy, no longer needed :)