Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Hiding Code From Page Source?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #196087
    Rhyss
    Participant

    Hey guys,

    I want to start a blog with video tutorials, obviously I don’t want people copying the videos.

    I wanted to know how I could do something like <a href="http://www.putlocker.is">Putlocker</a> where when someone views the page source, they see a javascript long piece of code but I don’t know how I would implement that on my blog, I’m not sure whether it has CSS involved or whatever but would really love to know how to do it.

    Thanks to anyone helps!

    #196207
    Paulie_D
    Member

    There is very little you can do to protect actual code that’s in the source.

    If you want to prevent downloads then secure off-hosting would be the way to go but all that does is prevent any villain from downloading directly from your site.

    Seems on point – http://stackoverflow.com/questions/1790190/is-it-possible-to-protect-from-downloading-a-video-from-a-site

    and

    http://www.ezs3.com/public/189.cfm

    and

    https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=protect%20video%20from%20download&es_th=1

    #196216
    Rhyss
    Participant

    But on putlocker, they upload all the videos to thevideos.tv and when it finishes it gives you an iframe to embed, but on putlocker, it is loads of javascript so they must be doing something to hide the code.

    #196223
    Shikkediel
    Participant

    I’ve used this at some point to not cache images and hide their path :

    http://hashmode.com/hide-image-path-php/9

    #196224
    Senff
    Participant

    First of all, Putlocker is a questionable site that streams illegal content. So, whatever methods they use, I wouldn’t use that as an example of anything.

    Second, by looking at the source, nothing was hidden or obscured at all. There’s just an iframe to a video, and the URL was very easy to see/copy.

    Third, by nature and by design, the web is open source. To try and bypass or work around that, is not only useless (see posts above), it’s also not the point of the web. If you want to restrict content, put it behind a username/password, and trust your users for not sharing it.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Other’ is closed to new topics and replies.