2006-07-23, 12:29 AM
Hey guys,
I am looking for a modification that would help against hotlinking.
For example, say someone uploads a picture through a post attachment on your forum and the URL is "http://yourforum.com/attachment.php?aid=1"
Well, lets say they try to post it on another forum or post it using HTML on a webpage, if they use the image source URL as "http://yourforum.com/attachment.php?aid=1" it's obviously going to go through and display the image.
What I am requesting is a mod that checks if the viewer is coming from the forum domain or not, if it is it displays the attachment fine. If the person trying to view the image is not on the forums because it is remotely posted somewhere other than the forum it shows up as a custom anti-hotlinking image or a custom page that redirects to the forum.
Can anyone help out?
I think this would be extremely useful towards MyBB, maybe even something that could someday be included officially with it. It would really be a bandwidth-saver!
I am looking for a modification that would help against hotlinking.
For example, say someone uploads a picture through a post attachment on your forum and the URL is "http://yourforum.com/attachment.php?aid=1"
Well, lets say they try to post it on another forum or post it using HTML on a webpage, if they use the image source URL as "http://yourforum.com/attachment.php?aid=1" it's obviously going to go through and display the image.
What I am requesting is a mod that checks if the viewer is coming from the forum domain or not, if it is it displays the attachment fine. If the person trying to view the image is not on the forums because it is remotely posted somewhere other than the forum it shows up as a custom anti-hotlinking image or a custom page that redirects to the forum.
Can anyone help out?
I think this would be extremely useful towards MyBB, maybe even something that could someday be included officially with it. It would really be a bandwidth-saver!