Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP/Amazon S3: Query string authentication

Tags:

I have been using the Zend_Service_Amazon_S3 library to access Amazon S3, but have been unable to find anything that correctly deals with generating the secure access URLs.

My issue is that I have multiple objects stored in my bucket with an ACL permission of access to owner only. I need to be able to create URLs that allow timed access. However, the documentation for Amazon S3 is very brief on the subject.

Could someone elaborate, or provide a link to something that explains how I might achieve this in PHP?

like image 305
tombazza Avatar asked Aug 19 '09 17:08

tombazza


1 Answers

The documentation located in the authenticating REST requests section deals with generating the signature required for the URLs. It would be a simple case of implementing a PHP function that can generate this type of signature.

like image 195
tombazza Avatar answered Oct 02 '22 22:10

tombazza