+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Anti leech - Help me

  1. #1
    wormhole is offline x10Hosting Member wormhole is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    12

    Anti leech - Help me

    I don't want my files to be leeched. So I enabled the Hotlink security feature from the cPanel. This is protecting my files when the files are hotlinked from other websites. But the files can still be downloaded using download managers. And I don't want this. Can anybody suggest me an easy way? Thanks.

  2. #2
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: Anti leech - Help me

    Easy? No.

    The tough way would be to create a symlink each time the file is requested, and clear that file off after a predetermined time limit (say 6 hours or so). That way hotlinking loses its effectiveness. You'll probably have to set an hourly crontab to implement this though.

    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


  3. #3
    Thewinator is offline x10 Lieutenant Thewinator is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    [NL]
    Posts
    256

    Re: Anti leech - Help me

    What kind of files are we talking about here?
    Because music could be played with flash players.
    Images be displayed using a php file etc.
    Last edited by Thewinator; 11-06-2007 at 05:11 AM.



  4. #4
    wormhole is offline x10Hosting Member wormhole is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    12

    Re: Anti leech - Help me

    Quote Originally Posted by Thewinator View Post
    What kind of files are we talking about here?
    Because music could be played with flash players.
    Images be displayed using a php file etc.

    Files like zip and exe.

  5. #5
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Re: Anti leech - Help me

    since .zip and .exe files can not be used on a browser; why not put them into a directory and password protect that directory thru the cPanel?

  6. #6
    wormhole is offline x10Hosting Member wormhole is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    12

    Re: Anti leech - Help me

    Yeah. It can be done but everytime a user needs to supply the username and password to download the files. And the user may not like it.

    I tried some anti-leech PHP scripts but they did not work properly. One of them is http://www.hotscripts.com/Detailed/31142.html

  7. #7
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: Anti leech - Help me

    None are as reliable as symlinking the file
    Edit:
    http://blog.bluefrogx.com/2007/11/07...s-antihotlink/

    I've written a short tut on how to do this at my blog, it assumes you have some knowledge of php and how it works
    Last edited by Slothie; 11-07-2007 at 12:23 AM. Reason: Automerged Doublepost

    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


  8. #8
    wormhole is offline x10Hosting Member wormhole is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    12

    Re: Anti leech - Help me

    A really nice blog. And a great tutorial. I'll try it later. Meanwhile I'll wait for other solutions. Thanks Slothie.

  9. #9
    Thewinator is offline x10 Lieutenant Thewinator is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    [NL]
    Posts
    256

    Re: Anti leech - Help me

    Well whatever method would come up they wil always be tracable except for the symlink generation.
    So I suggest you have a look at the tut ;)



  10. #10
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: Anti leech - Help me

    You're welcome

    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Rapid leech
    By shivachoudhury in forum Gamer's Lounge
    Replies: 3
    Last Post: 09-27-2007, 10:13 PM
  2. Anti Virus and Firewall for Vista
    By Christopher in forum Off Topic
    Replies: 14
    Last Post: 10-31-2006, 10:01 PM
  3. Anti Spam Mailto: links
    By Richard in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 07-10-2005, 09:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers