views:

464

answers:

1

Revision on initial post:

I'm looking to deliver video content after a purchase of content is complete. Here are my requirements

  1. I need to protect content until purchase exists
  2. I want to use the Amazon S3 service because it is cost effective

So that is about it, as I said before I would most likely use PHP to call the file from the S3 service and stream it on the page, as long as the purchase can be confirmed.

Is this feasible, do you see any hurdles or issues?

+4  A: 

You can generate a signed URL with an expiration date. Check out query string authentication in amazon API. You can play with it using S3fm, an online file manager for S3.

http://www.s3fm.com/

Just select expiration date in the Web URL dialog and copy the url.

Alex