Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2004
    Posts
    1,007

    Hotlinking Issue

    Hello Everyone,

    I am trying to prevent hotlinking for my mp3 archive by adding htaccess file
    The problem is that the script is communicating with mp3 archive directly and generating permanent links so if you search for "some" song it wil generate the link and the link will be valid forever
    Usual htaccess method didnt worked for me,can you please suggest anything ?

    Best Regards,
    Namesniper

  2. #2
    Change the script.

  3. #3
    Join Date
    Jan 2004
    Location
    North Yorkshire, UK
    Posts
    4,164
    Block the offending servers IP from your's, then their script wont be able to communicate with your server, if I understand what you're saying.

    But really, you shouldn't have an online MP3 archive.

    Dan
    █ Dan Kitchen | Technical Director | Razorblue
    █ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
    █ UK Intensive Managed Hosting, Clusters and Colocation.
    █ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).

  4. #4
    Join Date
    Feb 2004
    Posts
    219
    Go to CPANEL , Hot link prevention certainly works.
    Not only MP3s , AVI , WMV , MPEG all file links can be saved with htaccess.

    Other wise using CPanel hotlink prevention create .htaccess file
    [ No direct connection in the browser ]

    Then create a subdomain subdomain.yourdomail.com

    Put the same htaccess file to that subdomain and now you are safe.

  5. #5
    The easiest way to do it is from cpanel just write the file types you want to prevent hotlinking and there you go..

  6. #6
    Join Date
    Feb 2004
    Posts
    219
    if you want to save mp3 like files put both MP3 as well as mp3 in file type list to be saved.

Posting Permissions

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