Statistics: Posted by Cristián Lávaque — September 1st, 2011, 1:59 pm
Statistics: Posted by drbyte — August 30th, 2011, 9:13 pm
{
"Version":"2008-10-17",
"Statement":[{
"Sid":"AllowPublicRead",
"Effect":"Allow",
"Principal": {
"AWS": "*"
},
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::the bucket name/*"
]
}
]
}
Statistics: Posted by drbyte — August 30th, 2011, 8:13 pm
Statistics: Posted by drbyte — August 30th, 2011, 7:44 pm
Statistics: Posted by Jason Caldwell — August 30th, 2011, 7:34 pm
Statistics: Posted by drbyte — August 30th, 2011, 7:08 pm
As a member:
This:
Code: Select all
http://www.site.com/?s2member_file_inli ... /video.mp4
Translate to this:
Code: Select all
http://bucketname.s3.amazonaws.com/vide ... xgZY3kk%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.
http://www.site.com/?s2member_file_inline=yes&s2member_file_download=/video.mp4
http://bucketname.s3.amazonaws.com/video.mp4
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
The only solution that seems to work with apple devices and the rest (-windows mobile) without any problems is the HTML5 video tags.
Statistics: Posted by Jason Caldwell — August 30th, 2011, 4:43 pm
http://www.site.com/?s2member_file_inline=yes&s2member_file_download=/video.mp4
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
http://www.site.com/?s2member_file_inline=yes&s2member_file_download=/video.mp4
http://www.site.com/sing-up.php
Statistics: Posted by drbyte — August 30th, 2011, 3:32 am
*Dev Note* s2Member uses "Query String Authentication", provided by the Amazon® S3 API. Documented for developers here. To put it simply, s2Member will generate S3 authenticated redirect URLs ( internally ); which allow Customers temporary access to specific files inside your S3 Bucket.
s2Member assumes that you're creating a new Amazon® S3 Bucket, specifically for s2Member-protected files; and that your Bucket is NOT available publicly. In other words, if you type this URL into your browser ( i.e. http://s3.amazonaws.com/your-bucket-name/ ), you should get an error that says: Access Denied. That's good, that's exactly what you want.
See this thread for details: viewtopic.php?f=4&t=10054&p=20269&hilit=amazon+permissions#p20269
Statistics: Posted by Jason Caldwell — August 29th, 2011, 12:45 pm
Statistics: Posted by drbyte — August 27th, 2011, 10:11 pm
Statistics: Posted by Jason Caldwell — August 27th, 2011, 6:05 pm
Statistics: Posted by Jason Caldwell — August 27th, 2011, 5:44 pm
Statistics: Posted by drbyte — August 26th, 2011, 2:55 am
drbyte wrote:
Can s2m protect subdomains? http://site.main.com using URI Level Access Restrictions...If not..is there a hack for it?
Statistics: Posted by Cristián Lávaque — August 26th, 2011, 1:38 am
Statistics: Posted by drbyte — August 25th, 2011, 11:10 pm
Statistics: Posted by drbyte — August 25th, 2011, 7:59 am
Statistics: Posted by drbyte — August 24th, 2011, 9:23 pm
Statistics: Posted by Cristián Lávaque — August 24th, 2011, 8:24 pm
Statistics: Posted by drbyte — August 24th, 2011, 1:38 am