Home › Forums › WPLMS AddOns › WPLMS S3 › How to Secure Videos from downloadng
- This topic has 19 replies, 6 voices, and was last updated 8 years, 9 months ago by techcmantix.
-
AuthorPosts
-
February 2, 2016 at 11:03 am #24323webcreativengSpectatorOk. I think I'm pretty close to finish line. I change my resources to restrict PUBLIC access yesterday and thats fine now. Three final questions (and I'm done)
- IF I set the expiry to ONE minute, I load the page with video and I DONT click play button until after 5 minutes, will the video still play? It stops playing - says:
Error loading this resource
- Can it be less than one minute, because someone can quickly use that link and download the resource within one minute
- Then why DO I have the following options when I right-click a playing video, can I remove them? See attachment... They ALL work -
- Open Video in a new tab,
- Save Video
March 16, 2016 at 2:51 pm #36831techcmantixSpectatorvibe i set my these as my bucket policy , and linked media's from this bucket . this prevent downloading from any software's but this also prevent plays in mobile devices { "Version": "2012-10-17", "Id": "padeepz Media Policy", "Statement": [ { "Sid": "Allow get requests referred by www.padeepz.com and padeepz.com", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::bucket name/*", "Condition": { "StringLike": { "aws:Referer": [ "http://padeepz.com/*", "http://www.padeepz.com/*" ] } } }, { "Sid": "Explicit deny to ensure requests are allowed only from specific referrer.", "Effect": "Deny", "Principal": "*", "Action": "s3:getobject", "Resource": "arn:aws:s3:::bucket name/*", "Condition": { "StringNotLike": { "aws:Referer": [ "http://padeepz.com/*", "http://www.padeepz.com/*" ] } } } ] }March 16, 2016 at 3:27 pm #36850MrVibeKeymasterThe bucket policy seems correct. I am assuming you've replaced the "bucket name" to your actual bucket name . The example in Amazon states this :
refer link The video should not be available in the new tab.{ "Version":"2012-10-17", "Id":"http referer policy example", "Statement":[ { "Sid":"Allow get requests originating from www.example.com and example.com.", "Effect":"Allow", "Principal":"*", "Action":"s3:GetObject", "Resource":"arn:aws:s3:::
examplebucket
/*", "Condition":{ "StringLike":{"aws:Referer":["http://www.example.com/*","http://example.com/*"]} } } ] }March 17, 2016 at 6:15 am #36949techcmantixSpectatoryes i have changed the bucket name , the PROBLEM is that this prevent the audio/video from playing in android devices , no problem in desktop versions (windows 8/10) have any solutions ????March 17, 2016 at 7:20 am #36985techcmantixSpectatormy domain www.padeepz.com/wp-admin user name: padeepz-admin password : <span style="line-height: 1.5;">padeepz123)(*</span> check out this track http://www.padeepz.com/unit/algorithm-analysis/ the track in this page plays in desktop but not in android devices i used the bucket policy given above (which i have posted ) im really stuck here , helpme out <p class="MsoNormal"></p> - IF I set the expiry to ONE minute, I load the page with video and I DONT click play button until after 5 minutes, will the video still play? It stops playing - says:
-
AuthorPosts
- The topic ‘How to Secure Videos from downloadng’ is closed to new replies.