Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 10 Years, 9 Months, 3 Weeks ago [General] How to stop hotlinking of attatchments?
#1
Solved: 10 Years, 9 Months, 3 Weeks ago
I added .attach in the list of extensions which shouldn't be allowed but its not working.

Please help Exclamation

Thankyou
#2
Solved: 10 Years, 9 Months, 3 Weeks ago
simply disable to view attachments for guests
#3
Solved: 10 Years, 9 Months, 3 Weeks ago
It will decrease the number of active guests and potential members, there are too many images on my site and there will be many many more images and this is not the solution.
#4
Solved: 10 Years, 9 Months, 3 Weeks ago
Try out this: http://altlab.com/htaccess_tutorial.html
Need web hosting? Try MyBBWebHost!
#1 for Running MyBB Communities
The world's only premium web host dedicated to MyBB forums.

#5
Solved: 10 Years, 9 Months, 3 Weeks ago
I have already done that but its about the attatchments which don't have any extensions but just a number at their tail like /attachment.php?aid=32534
bump...
#6
Solved: 10 Years, 9 Months, 3 Weeks ago
any other suggestions...
#7
Solved: 10 Years, 9 Months, 3 Weeks ago
What you can do using PHP is in the attachment.php add a check for the current domain name, and if the domain name doesn't match yours then it will redirect.

Just a theory.
Need web hosting? Try MyBBWebHost!
#1 for Running MyBB Communities
The world's only premium web host dedicated to MyBB forums.

#8
Solved: 10 Years, 9 Months, 3 Weeks ago
I can't do that anyways,lol and wouldn't want to edit a core file either but even if i was able to do that what I would have told the php script to do, I mean even I don't know which extension to block as there is no extension at all.
#9
Solved: 10 Years, 9 Months, 3 Weeks ago
So the problem is what? Attachments that are images?

Easy solution. Increase the thumbnail sizes on the site and disallow guests to view attachments. They will still see the thumbnail btw but they will not see full size images unless logged in. I personally always raise the thumbnail size to about 200x200 anyways.

This will not negatively effect your traffic and it might even increase membership as people will join to see full size images.
#10
Solved: 10 Years, 9 Months, 3 Weeks ago
(2010-09-12, 05:20 AM)labrocca Wrote: So the problem is what? Attachments that are images?

Easy solution. Increase the thumbnail sizes on the site and disallow guests to view attachments. They will still see the thumbnail btw but they will not see full size images unless logged in. I personally always raise the thumbnail size to about 200x200 anyways.

This will not negatively effect your traffic and it might even increase membership as people will join to see full size images.

I have settled for your suggestion, thankyou Lightbulb


Forum Jump:


Users browsing this thread: 1 Guest(s)