GFY EDUCATIONAL SERIES: How to prevent Piracy - A new way.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • borked
    Totally Borked
    • Feb 2005
    • 6284

    #1

    GFY EDUCATIONAL SERIES: How to prevent Piracy - A new way.

    Call it an educational series section if you want but this is my take on how to prevent piracy and is a little bit technical.

    It stems from the base that the vast majority of people being pirated from offer their product in digital format *only* and so the easiest way to prevent your product from spreading as pirated is to prevent your product from getting on the hard drives of the future pirate/seeder.

    Technology in this matter has moved enormously in the last few years and I'd say everyone offers streaming as an option in their members area.

    If you offer downloads of your movies and don't want to enter into DRMing them, then you will not prevent piracy.

    The best solution is to offer your movies *only* as protected streams. I'll get to other problems associated with only offering your movies as streams (ie members want access to the movie always even after membership expiry) at the end.

    If you take the stance that your members are signing up to see what they want to see and not to seed it to the masses then this solution will work for you.

    If you don't care that your content is pirated and only wish to see a new revenue stream open up by "fighting" the pirates, I don't see why you're in this thread anyway, so stop reading now.

    1. Turn off mpg/avi/wmv whatever downloading

    Why do you even offer this? It makes storing your content much more costly, your bandwidth increases, and is the sure fire way to get your content pirated.

    if you must give downloads, inject the user details into the mpg file - see
    http://gfy.com/showpost.php?p=17565717&postcount=76


    2. Only stream your content

    All your content needs only to be flv or (better) mp4 (h.264 format) - cut your storage needs by > 50% in one fail swoop

    3. Protect your streams

    This is the technical stuff - stream rippers are two a penny these days, but follow this sequence of events and your streams are 100% secure. The only way to "rip" your stream is to have a screen capture program record full playback of your move. Impossible to prevent that!


    a) Stream - don't use progressive downloading

    Progressive downloading is where you put a flash player wrapper around your content - the user can only view the content currently downloaded. That means the entire movie can only be viewed once the entire movie has been downloaded. Thus, the movie downloads into the browser cache and can then be transcoded by the end user to any other format and pirated.
    You also consume a lot more bandwidth

    Stream your content with a streaming application such as the flavours that Adobe and Wowza offer up - this way, if a user watches only 30 seconds of a movie, you pay only for 30 seconds of bandwidth, not what the users internet connection allowed him to download in 30 seconds (which could be the entire movie!). It also allows for scrubbing by clicking ahead/behind in the movies current position.

    b) Stream your movies with RTMPE

    Adobe launched the encrypted RTMP (RTMPE) streaming protocol a few years back and by using it, you block 90% of stream rippers. Only three that I know of can still rip RTMPE streams, and Adobe is actively pursuing trying to shut down those apps (no chance!).

    In any case, at a 1.5% overhead on the server per stream, RTMPE is worth it to kill the majority of stream rippers

    c) Protect your streams with a Secure Token

    OK, you have a secure stream. This means streams in process by one app cannot be ripped by another. This however leaves a hole in the handshake between client and server - if the client is an app that can convince the server to engage in an encrypted stream, the server will diss it out.

    A Secure Token is one only known to your app (eg your flash player) and your streaming server. On request for a stream, the client (your player) will send a SSL-protected Secure Token in the header of the request. If this matches the token stored on your streaming server, the server will release the stream. Only this token is known to your flash player (that is compiled into the player) and your streaming server (in the server config). Impossible for a rogue client (like a stream ripper) to know this.

    However, one ripper app can listen to what is being sent during a request and circumvent this (see later)

    Secure Token is supported by Adobe and Wowza and most players (JW PLayer included) support secure token.

    d) Protect your "Secure Tokenised" flash player

    A person can download your flash player which contains your secure token inside the compiled app and either
    i) use the player to request streams on their own behalf, fooling your streaming server
    ii) reverse engineer the app to find the secure token

    A simple way to do this (which is not foolproof, but since it's transparent to the end user it's a good security) is to mod_rewrite all requests for your player that do not have a trusted http_referer set (direct requests do not have http_referer set)

    Code:
    RewriteEngine on
    RewriteBase /
    RewriteCond %{HTTP_REFERER} !^http://members\.domain1\.com/ [NC] #main webserver
    RewriteCond %{HTTP_REFERER} !^http://members\.domain2\.com/ [NC] #some other trusted server
    #we are trying to download the SecureToken player...
    ##send them a custom player that doesn't provide the SecureToken!
    RewriteRule ^FlashPlayer\.swf$ /media/players/FlashPlayer.swf [L]
    the [L] is quite important since the redirect will be transparent - it will look like they are getting the same player as is shown in the HTML, but it will be untokenised and always fail on any request to serve up a movie

    f) Protect your streaming server from unauthorised requests

    For the only available stream ripper (which requires a LOT of knowledge of the command line to operate by the way, so eliminates a lot of pirates), that can see your encrypted secure token in the stream request header and use it to make unauthorised requests for streams, make sure your streaming server *ONLY* listens for requests coming from a valid host - a valid referrer. There is *NO* stream ripper available that can trap the secure token and spoof referrer for the moment.

    Adobe and Wowza offer this as a plugin (free for wowza, paid for adobe)


    g) Add encrypted user login vars to your stream

    This is paranoid, but some circumstances like VoD where the username is important to the streamer, it is important. Don't give out unsecured user vars - encrypt them with a method encryption compatible with your web server (encryption) and streaming server (decryption). I won't go into the details on how to implement this, as it can be avoided if your member area is well protected from intrusive entries. I've done it though for unprotected areas where a logged in member is sent one content and a none-logged in member is sent another... the options are there in any case

    This requires a custom compiled streaming server plugin.

    Following all the points above in Point 3 will protect your streams in today's market to the hilt.



    4. How to deal with members that want the content all the time

    OK, in point 1 you shut off all movie downloading, in 2 only offered movies in streaming format, and in 3 you prevented your streams being ripped

    For the majority of members, albeit taken from stream/download stats over a 2 month period with 2 clients, streams are what people want - content is fresh, no download wait time to get cock in hand etc I suppose, but the movie requests were mainly for streams.

    However, there are a still a lot of members that like to have the movie on their HD so they can watch it forever, even if they cancel membership.

    One client didn't want to offer only streams for this reason. The members of this client that were logged as downloading movies were polled via survey monkey to ask them

    a - if we didn't offer movie downloads would you consider cancelling your membership (95% said they would consider cancelling)

    b - if we didn't permit downloads, but made sure the movies you like were always available, in full, for 1 year even after you cancelled your membership at some point in the future, would you consider cancelling your membership (15% said they would consider cancelling)

    That was enough of an answer for the client since within those 15% were the pirates. Maybe all of them were pirates, maybe only 1% but a good enough chance to take the risk.

    I implemented a method where, during the lifetime of a member, any movies added to their favourites or watched in their entirety were logged. If the member cancelled, their login would still be valid for 1 year whereupon relogin they would have full streaming access to those movies. Any new movies or old ones they never watched would be removed from full access rights and clicks on them would be used for upsells to get them back.

    By implementing this, they lost 3% of their recurring (downloading) member base (remember only those ones that were downloading the movies - not the entire member base), but over the next 6 months got a ~70% upsell success rate turning that expired member back into a full member.


    In all, the implementation of all the above means that all your movies are free from pirating and by-and-large your members won't care that there are no downloads since they still have access to the content they liked. Better still, it gives a chance for active upsells to win back lost members.
    Last edited by Eric; 10-03-2010, 08:48 AM.

    For coding work - hit me up on andy // borkedcoder // com
    (consider figuring out the email as test #1)



    All models are wrong, but some are useful. George E.P. Box. p202
  • borked
    Totally Borked
    • Feb 2005
    • 6284

    #2
    It turned into quite a long post and I haven't proof read it at all, so I'll finish it off with a GFY Education Series style signoff with a disclaimer that all spelling/grammar errors were maid purely by me.

    About the author:

    Borkedcoder aka Andy is a pain in the arse freelance web programmer and system admin that is over worked, under paid and loves to get his teeth into problems. If it's not problematic, it bores me!


    Oh, and if you liked the post, you can rep me - got to beat JDL in this green power pill thing...

    For coding work - hit me up on andy // borkedcoder // com
    (consider figuring out the email as test #1)



    All models are wrong, but some are useful. George E.P. Box. p202

    Comment

    • CaptainHowdy
      Too lazy to set a custom title
      • Dec 2004
      • 94722

      #3
      Piss excellence!

      Comment

      • ottopottomouse
        She is ugly, bad luck.
        • Jan 2010
        • 13177

        #4
        My parrot says "nice read"
        ↑ see post ↑
        13101

        Comment

        • scouser
          marketer.
          • Aug 2006
          • 2280

          #5
          1. Turn off mpg/avi/wmv whatever downloading

          Why do you even offer this? It makes storing your content much more costly, your bandwidth increases, and is the sure fire way to get your content pirated.
          if someone wants to download your movie to upload to another site/torrent/etc, they'll work out how to, even if you don't let people download the files easily. all this does is annoy your "regular" members. It also fucks people with slow internet connections, or who want to watch the porn while not online. which is probably quite a large % of cases still. if they only wanted to view it online theres enough free stuff online. i suspect some people join sites cos they know they can watch it offline.

          Comment

          • PXN
            Confirmed User
            • Jun 2008
            • 1548

            #6
            nice stuff in there. Way better than what the other party is doing.

            Comment

            • borked
              Totally Borked
              • Feb 2005
              • 6284

              #7
              Originally posted by deadmoon
              if someone wants to download your movie to upload to another site/torrent/etc, they'll work out how to, even if you don't let people download the files easily.
              You didn't read the post - if you followed that to protect your streams, you will not be able to download the movie. Period.

              Originally posted by deadmoon
              all this does is annoy your "regular" members. It also fucks people with slow internet connections, or who want to watch the porn while not online. which is probably quite a large % of cases still. if they only wanted to view it online theres enough free stuff online. i suspect some people join sites cos they know they can watch it offline.

              Well, this depends on your member base and until you've tried it or surveyed your members, or started tracking % downloads per % streams, you will of course have no idea.

              Like I said, I've only implemented this for 2 clients (1 with >500 recurring members) and for them the results are more that satisfactory. Maybe they'll chime in here to give their feedback (though their are not english speaking...)
              Last edited by borked; 10-01-2010, 10:45 AM.

              For coding work - hit me up on andy // borkedcoder // com
              (consider figuring out the email as test #1)



              All models are wrong, but some are useful. George E.P. Box. p202

              Comment

              • DaddyzHome
                Confirmed User
                • Aug 2003
                • 200

                #8
                So what are your prices to do this to an existing site?

                Comment

                • Fetish Gimp
                  Confirmed User
                  • Feb 2005
                  • 1699

                  #9
                  Good info, nicely presented. Thanks borked.

                  I especially liked that "streaming movies available for one year after cancellation" solution.

                  What about letting the returning ex-member read about the new updates since they canceled (but not be able to view them), and then throw in a re-join offer (10% discount or something)?
                  Strapon Seduction - femdom blog | Twitter

                  Comment

                  • Gasper

                    #10
                    great post!

                    i'm not sure for existing member areas, but if I were to open a new paysite I'd implement all these methods to protect my content

                    Comment

                    • ottopottomouse
                      She is ugly, bad luck.
                      • Jan 2010
                      • 13177

                      #11
                      Will the token thing prevent me searching through the packets until I find where the video lives and then collecting it?

                      I like puzzles.
                      ↑ see post ↑
                      13101

                      Comment

                      • Ethersync
                        Confirmed User
                        • Mar 2008
                        • 5289

                        #12
                        Great advice.
                        The best ePassporte replacement I have found: OKPAY

                        Comment

                        • BestXXXPorn
                          Confirmed User
                          • Jun 2009
                          • 2277

                          #13
                          Awesome writeup, top fucking notch man but I'm going to have to go with...

                          I would never sign up for a site that had this much shit locked down. I want porn on my TV... therefor if I can't download it, I'm not interested. I think this is going to be the case for quite a few people and the crowd is growing larger by the day.

                          UNLESS... You start offering streaming in other ways; Boxee plugin, custom client, etc... My requirement is that it's not on my fucking computer, hahaha.

                          By the way have I mentioned the industry time bomb yet? It's called Netflix Adult... They could easily sweep up a metric shit ton of market share. Content delivery to your TV is where it's at.

                          Edit: Bottom line is... People don't choose to consume porn on their computer; they do so because it's the best available option. If the same content was available on their TV using a remote and chilling on their bed/couch... I'm willing to bet a year's salary that far more people would opt for consuming content via their entertainment centers ;)
                          Last edited by BestXXXPorn; 10-01-2010, 11:29 AM.
                          ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com

                          Comment

                          • chronig
                            Registered User
                            • Oct 2009
                            • 2653

                            #14
                            A nice thought - and I am actually looking into this right now - but what about the screen capture programs that you just barely mention? More tedious? Yes. But doable? Yes.

                            Does screen capturing lose quality in the video? (Enough for surfers to notice?) I'd record my videos in super HD and possibly implement this... if it meant constraining an entire computer (video capturing) vs. downloading out of your cache and barely using any cpu resources PLUS a loss in quality I'd be very interested.

                            Comment

                            • borked
                              Totally Borked
                              • Feb 2005
                              • 6284

                              #15
                              Originally posted by Fetish Gimp
                              Good info, nicely presented. Thanks borked.

                              I especially liked that "streaming movies available for one year after cancellation" solution.

                              What about letting the returning ex-member read about the new updates since they canceled (but not be able to view them), and then throw in a re-join offer (10% discount or something)?
                              Yes, that's exactly how it works in what has been implemented - on login with an expired user/pass, they get sent to the holding area with all their movies available listed.

                              However, the entire member area is still open for them to browse and looks like what every other valid member sees. The difference is, on clicking the "View this movie" they get the modal box with details on how to come back (at discounted price as a bonus etc).

                              All thumbs are still viewable, but the "good stuff" needs for them to come back into the circle, and a lot do!

                              For coding work - hit me up on andy // borkedcoder // com
                              (consider figuring out the email as test #1)



                              All models are wrong, but some are useful. George E.P. Box. p202

                              Comment

                              Working...