So, I'm working on a few web projects, and I've come across people hotlinking files from my webhost to other sites. I'm trying to prevent that by setting up an htaccess file, but it seems to not be working.
the top 3 domains are ones I own, and I'd like to be able to link between them. The 4th is a website I video encode for, and link files and upload images to share with others, so thats on there.
I'm struggling to figure this out, I've never messed with htaccess files before, so it's all new to me.
Question
BinaryData
Hey Guys,
So, I'm working on a few web projects, and I've come across people hotlinking files from my webhost to other sites. I'm trying to prevent that by setting up an htaccess file, but it seems to not be working.
Here's what I got.
the top 3 domains are ones I own, and I'd like to be able to link between them. The 4th is a website I video encode for, and link files and upload images to share with others, so thats on there.
I'm struggling to figure this out, I've never messed with htaccess files before, so it's all new to me.
I used this site;
As an example; but I think I screwed up some where.
The Goal:
I want only the websites listed above, to be able to hotlink files from seedbox.datascorner.com, but any other websites get the one_piece_skull.png
To comply with NeoWin Policies, the files in that directory have been blocked. I'd rather not get banned.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts