Results 1 to 2 of 2
Nov 21, 2010, 17:18 #1
- Join Date
- Jul 2008
- 0 Post(s)
- 0 Thread(s)
block links from 'pirate' sites ??
Is it possible to block links to .mp3 files (music I've written & created)
from 'pirate' sites and, if so, how?
(Or if someone could point me towards appropriate references / search terms --
my Google search results are not helpful.)
Here's a cPanel AWStats excerpt of sites / links I'd like to block:
Connect to site from
Links from an external page
Last edited by Mittineague; Nov 21, 2010 at 20:37. Reason: removing unnecessary links- Richard
Nov 21, 2010, 20:44 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 112 Post(s)
- 1 Thread(s)
The term you are looking for is "hot-linking".
I guess the most common way might be to use Apache htaccess to restrict outside sites. But IMHO this has some limitations.
I think a better way (but a bit more involved) is to keep the files outside of the root folder and have the pages on your site set a SESSION. Instead of calling the files directly, call a file that checks for a valid SESSION and fetches the file if it's OK.10 Rules for Driving Traffic Using Forums | Ultimate SEO Checklist
External links are nofollow
How to be a Great Online Community Member
Member of the Month for December 2013
Free SitePoint book - Thinking Web: Voices Of The Community
The 2013 SitePoint Awards - Nominations closed - Voting to begin soon
Introducing the new Code Review Forum