Hi Jason
Thank you for the explanation and the links. Unfortunately that kind of authentication is easily broken. I understand the bucket authentication and all what follows but that's not what I am experiencing.
I am not worrying about my members downloading the video files. Actually I want them to do so because it makes them happy, and happy means more dollars in my account. What I am worrying about is one of them getting hold of the actual amazon url and freely distribute them on the net, or opening a web site while I am paying price.
Since you think it's not a problem to other users then I can discuss it here.
If you have a video files Jason in one of you amazon buckets I would like to become a member and view that file. Having said that, I will be able to tell you the bucket name & the file and have that video file streaming on my site.
Let's put it in urls
As a member:This:
- Code: Select all
http://www.site.com/?s2member_file_inline=yes&s2member_file_download=/video.mp4
Translate to this:
- Code: Select all
http://bucketname.s3.amazonaws.com/video.mp4?response-cache-control=no-cache%2C+must-revalidate%2C+max-age%3D0%2C+post-check%3D0%2C+pre-check%3D0&response-content-disposition=inline%3B+filename%3D%22video.mp4%22&response-content-type=video%2Fmp4&response-expires=Tue%2C+23+Aug+2011+07%3A32%3A11+GMT&AWSAccessKeyId=AKIAJYAXYKPMZ2EFF5LA&Expires=1314689561&Signature=v4DJAznbWd6qETm6U2MHxgZY3kk%3D
Which the only part that I need is this:
http://bucketname.s3.amazonaws.com/video.mp4 to make my case, the rest does not server any good for the above example. since that file if open to public then it's freely can be copied, downloaded, and embedded on the net.
For None Members:This:
- Code: Select all
http://www.site.com/?s2member_file_inline=yes&s2member_file_download=/video.mp4
Translate to:
- Code: Select all
http://www.site.com/sing-up.php
Which is good.
The bucket is secured, I understand this but the files aren't. Bucket domain policies does not work. I tried all of them. for some reason Amazon is refusing to respond to the huge demand of implementing some sort of solid bucket policy or even a small script for CloudFront users to protect their files. It seems they only worry of how much $$ goes to their bank account.
CouldFront uses Adobe Flash Media Server 4. I have that installed on one of my servers. I have applied full security restrictions and it's working 100% BUT I can't deliver media to iPhone and iPad users. It's Flash. The only thing they have is a quick fix using Live Streaming and that work on some Apple devices.
So, I have Wowza media server 2 on another server and that works perfectly fine. I have to use JWPlayer, Or Flowplayer to stream the media to devices. Again, Apple devices does not seem to like the idea that there is another plugin other than QuickTime trying to provide media playback. All sorts of problem we had with Wowza and Apple devises (So they say it support them but good luck). Another issues we had is that SSL streaming is not available at this moment to Apple gadgets.
The only solution that seems to work with apple devices and the rest (-windows mobile) without any problems is the HTML5 video tags.
I even have a Windows 2008 IIS Media server installed, LOL, Beautiful smooth streaming an tons of security options but it does not stream to the Android devises
So, back to F4M....They support http streaming but it's wide open to the public. The only way to block that is to buy Adobe Access. At this point I am broke. Beside the fact, S2M (at this point) does not support any other storage other than s2m files folder or amazon s3. That's why I asked you if I can have something else beside these 2. I'm sure you are working on something..I can smell it form here
I am not sure why it's so difficult to server a secure media files over the Internet but It seems it's nothing but a corporate greed
Sorry I went far off the main subject.
Anyway, yes Jason, if you are a member on my site and your type the url above on the address bar it will get you the exact location of the file on Amazon S3
Unless I am missing something in the code.
Thank you
Sam