Forum Moderators: phranque
I need your help, right now what I've done so far is having a password protected folder by using .htaccess
AuthUserFile "c:/html/apache/bin/passwd.txt"
AuthName private
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
The main reason why I'm doing this, is because recently I encountered alot of sites hotlinking to my music folder and it just suck my bandwidth real bad. I have a question, right now it looks like it is password protected from my own domain...so, right now everytime my user browse to that music folder of the site they must login in order to have access...I just want to stop people from linking to my music folder that have to login to have access from outside of my site....so, how do I have htaccess auto allow access from my own domain without having to login? and block other domains with username and password? Basically I want my domain not need to login with username and password, and other sites linking must prompt for username password...how do I do that?
Thnx alot...
People take various approaches to what to put on this other page. Things that have been mentioned here before:
1. A friendly link to your home page.
2. An unfriendly link to a "The site you linked from is stealing my content" message.
3. A tricky redirect. Someone here, for example, was having her content stolen by some relatively straight-laced site (business, christian, something like that) so she changed the image they were stealing to something offensive. Another one just changed it to a large image that said "I'm such an idiot I don't even know what's on my site."
4. You could redirect to a login page, but if I understand what you want, that would no longer be necessary.
Tom