Log in

View Full Version : How to stop hotlinking of attachments?


mefromspace
10-05-2014, 05:27 PM
Hi all,

I have found my attachments showing up linked directly to the image on my site by using the attachment id such as: domain/forum/attachment.php?attachmentid=10132&stc=1&thumb=1&d=1199614379

I have set it so that only registered users can see attachments but it seems its possible for a registered user to see the path and then post that path on another site and letting my site display it on that site. It shows both thumbnail and full size picture when clicking on the site who hotlinks my image.

Any way to stop that and have a specific image show up instead or even shut it off so it will be impossible to link my images directly?

Hope you guys have some suggestions :)

ozzy47
10-05-2014, 05:34 PM
I have not seen such a mod for vB5 yet.

mefromspace
10-05-2014, 07:26 PM
hmmm ok will search google some more.

ozzy47
10-05-2014, 07:56 PM
Yeah you may find something you can use if you understand a bit of coding and templates.

Lynne
10-05-2014, 08:23 PM
Are your attachments stored in the filesystem then? If so, google for the .htaccess code to stop hotlinking and that should fix the issue.