Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1435 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming :

Using Amazon S3 - some questions

Thread title: Using Amazon S3 - some questions
Reply    
    Thread tools Search this thread Display Modes  
06-24-2011, 09:16 PM
#1
Michael C is offline Michael C
Michael C's Avatar
Status: Senior Member
Join date: Jul 2006
Location: Scotland, East Lothian
Expertise:
Software:
 
Posts: 888
iTrader: 4 / 100%
 

Michael C is on a distinguished road

Send a message via MSN to Michael C

  Old  Using Amazon S3 - some questions

Hey all, wondering if someone around here has any idea about using Amazon s3 for video hosting. My main problem is the security part. I have a WordPress installation with an authenticated member only section. I am unsure however of how to make use of the authenticated ACL setting on Amazon s3 so that only logged in members with the right level have access to view these embedded videos hosted on Amazon.

Any ideas or general experience with Amazon S3?

07-05-2011, 10:35 PM
#2
Michael C is offline Michael C
Michael C's Avatar
Status: Senior Member
Join date: Jul 2006
Location: Scotland, East Lothian
Expertise:
Software:
 
Posts: 888
iTrader: 4 / 100%
 

Michael C is on a distinguished road

Send a message via MSN to Michael C

  Old

After a while I figured this out. The best way to tackle the problem is to first have a member system where only authenticated users can access the content and embedded files. Then all you need to do is include the media via an expiring url. Here is the PHP snippet I used:

http://snipplr.com/view/46753/amazon-s3-expiring-link/

Make sure the ACL file settings are set to private. A member can then access the link to download the file/watch a video. If they copy the url of the media they cannot share with friends because the link only lasts for a set period of time.

Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed