Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make an anti-leech system?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
I have a domain name ( wich is under apahe webserver and I want to do something that I've already tryed but I wasn't able to pull it off.

What I want is some kind of anti-leeching protection to all my files and all my folders. I have files of the following types: .gif .jpg .swf .php .htm .zip .mp3 etc and if some direct links to any of the files with this extensions (and others) inside the root folder or in any other sub directory like: or or or and so on, if people go directly to do this I want it to simply block it and this files would only work if people go into or just (not just sicarmy.org) and then they follow the links to see what they want to see or to download what they want.

I think that this is made within the .htaccess file and i've already tryed many ways and used many examples across the web but it didn't work any of it, please help.

Thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top