SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: protect video files

  1. #1
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    protect video files

    i am a working on a video site. i host all video files in mp4 form. if i will publish this files just in an embed code, other sites will use that on their sites. but my bandwith will spend. how can i protect my video files?

    note 1: flash players dont send referrer
    note 2: facebook did this with nginx and http access key module. but my server is apache

  2. #2
    -webkit-curiouser: curiouser; silver trophy
    SitePoint Award Recipient ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    7,736
    Mentioned
    30 Post(s)
    Tagged
    2 Thread(s)
    As there is no referrer, there is no foolproof way of doing this (not that the referrer is a foolproof idea, but it's pretty solid at least).

    From I've read if you want to do it foolproof, you need a streaming server instead of using just the mp4 files, but this idea using cookies looks okay to me as well. Maybe you'll block some legit users who have cookies disabled but it won't be many. It's up to you to decide if that would be worth it.
    Rémon - Hosting Team Leader

    Minimal Bookmarks Tree - My Chrome Extension

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •