I am using S3 to host videos to my users.
The problem is that s2Members does not rewrite URL, so user can see the entire S3 URL with session-key.
With the given URL (https://bucket.s3.amazonaws.com/video.mp4?X-Amz-Algorithm=AWS4...
), user can copy and send to a friend – with no security check, since is the direct file from S3.
Even when I use https:/site.com/?s2member_file_download=video.mp4
it redirects to AWS S3 URL.
I know that is impossible to prevent file download, but I want to – at least – prevent users from sharing the video URL.
It’s perfect possible to do that, see this StackOverflow answer.
I am doing anything wrong?
That’s the shortcode I am using:
[s2Stream player="jwplayer-v7-rtmp" player_path="/jwplayer/jwplayer.js" player_key="#" player_primary="html5" rewrite="yes" file_download="video.mp4" /]