How to stop bandwidth theft?

Discussion in 'Site & Server Administration' started by mohdsoft, May 5, 2006.

  1. #1
    Hi,

    I have a website that consumes over 1.5 TB a month. I always find new people hot linking to my files and they eat my bandwdth very quickly.

    How does websites like megaupload and rapidshare.de protect their links?
    Can anyone help?
     
    mohdsoft, May 5, 2006 IP
  2. mihaidamianov

    mihaidamianov Well-Known Member

    Messages:
    1,434
    Likes Received:
    111
    Best Answers:
    0
    Trophy Points:
    190
    #2
    What's your website?
     
    mihaidamianov, May 5, 2006 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    T0PS3O, May 5, 2006 IP
  4. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    mihaidamianov: the website is not in english so not use of knowing the url.
    T0PS3O: Thanks a lot. But do you have any idea of how to make urls like the ones in megaupload?
     
    mohdsoft, May 5, 2006 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Never heard of megaupload.
     
    T0PS3O, May 5, 2006 IP
  6. blueoceanwave

    blueoceanwave Peon

    Messages:
    210
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    as a long term solution, you should have dynamic images and dynamic downloads, so it's changed for every visitors so nobody can hotlink to specific item but to the pages only.

    In php, you can do something like this <img src="myimages.php?imageID=123&rand=kjdiukj39">, the rand would changed with every new request because it would be something random that you can verify on the server
     
    blueoceanwave, May 5, 2006 IP
  7. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #7
    jestep, May 5, 2006 IP
  8. plumsauce

    plumsauce Peon

    Messages:
    310
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #8
    if you are hosted on IIS or are willing to change to IIS, COLDLINK
    will do the trick nicely. there is a hotlink testing tool available on the site.

    just search for the name.
     
    plumsauce, May 5, 2006 IP
  9. MrSupplier

    MrSupplier Peon

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    1. check referrer
    2. embed encrypted timecode in urls so it will expire in say 10 minutes
     
    MrSupplier, May 5, 2006 IP
  10. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #10
    theblight, May 6, 2006 IP
  11. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Thanks a lot guys.

    How do you do that?
     
    mohdsoft, May 6, 2006 IP
  12. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Sessions on php

    try php.net
     
    theblight, May 6, 2006 IP
  13. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I will do. Thanks a lot
     
    mohdsoft, May 6, 2006 IP
  14. thefirstnovice

    thefirstnovice Guest

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I am very courios what is your website.
    how many visitators do you have?
     
    thefirstnovice, May 6, 2006 IP
  15. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Maybe you try to PM him that question...most user dont define specific site here :)
     
    theblight, May 7, 2006 IP
  16. MrSupplier

    MrSupplier Peon

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #16
    >> embed encrypted timecode in urls so it will expire in say 10 minutes

    > Sessions on php

    Sessions will work for less-loaded servers, actually I have solution without sessions, initially built for video downloads site. Most of videoplayers do not send referrer / nor support cookies and it's quite tricky to prevent hotlinking in this particular case. I cant disclose more details for obviuos reasons.
     
    MrSupplier, May 8, 2006 IP
  17. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Don't want to sound rude or something but check these results.
    I'm sure a lot of usefull information can be retrieved from it ;)
     
    Edz, May 8, 2006 IP
  18. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Right EDZ the Big Brother Google!
     
    theblight, May 9, 2006 IP
  19. tech86

    tech86 Peon

    Messages:
    83
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #19
    do u have cpanel it has hotlinking prevention straight up?
     
    tech86, May 11, 2006 IP
  20. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #20
    unfortunately i don't. But i guess it will use htaccess to do that. Am i right?
     
    mohdsoft, May 11, 2006 IP