hotlinking stuffs

  • mirai
  • Born
  • Born
  • User avatar
  • Posts: 1

Post 3+ Months Ago

okay... yeah, the way i found this forum was by looking for a way to disable hotlinking XD so um.. i figured this would be a good place to ask >>

i wanted to disable images in one directory, and i did that without a problem... but on my site, i have a section with... mmm... about a gb or so of mp3s and videos and stuff. i made a .htaccess file that was basically the same as the one i used to disable the image linking (which replaced the linked image with another one and all that), so if the link was just opened directly, it would download a horrible audio file i just made... however, if they click and save target as, which is what they'd probably do anyways, people can still hotlink stuff without a problem. how can i stop that?
  • rjstephens
  • Professor
  • Professor
  • User avatar
  • Posts: 774
  • Loc: Brisbane, Australia

Post 3+ Months Ago

Check to see if there is a referrer. If you block blank refererrs as well as ones outside your site, you'll block all hotlinking, but you could block some people who have privacy software enabled so that they don't send a referrer instead.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 25 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.