tet5uo
tet5uo

Reputation: 139

Prove Amazon s3 file has been downloaded

I'm selling music file downloads using PayPal. In order to get seller protection I need to be able to provide proof the file has been delivered.

From PayPal :

If you sold a music download, then you might consider providing proof that you sent the buyer the link to the download and proof that they buyer accessed the download, giving dates and times (illustrative example only).

The files are stored in Amazon s3 and I'm using a ruby on rails project with 'asw-sdk' and 'paperclip' gems.

The file download link is shown after the PayPal checkout and is also emailed. Is it possible to prove the buyer accessed the download?

Upvotes: 0

Views: 1612

Answers (1)

smp
smp

Reputation: 1003

Use S3 Server Access Logging, which, by default, will give you the IP address of any client that accesses the files in the S3 bucket.

If the users are authenticated into your application, you could also use the Custom Access Log feature to pass the username into the request made to S3.

Upvotes: 2

Related Questions