I have written something that stop's hotlinking. I've seen similar code working on the internet, and it's working from localhost. I have tried to upload it to my server and it's not working.
I have changed it to not allow anything (i'll change it later to the checking once it get this working)
<add verb="*" path="*.jpg" type="System.Web.HttpForbiddenHandler" />
This is in the web.config and it's not even being called. I have contacted my hosting provider (godaddy) but i may aswell of been talking to a brick wall because they are refusing to give any sort of answer.
"Unfortunately, we are very limited in the support we can offer for customer-written code or scripts such as this. If there is evidence that our system is responsible for the error, please forward it to us, and we would be happy to look into the matter further. But at the moment this does not appear to be the case, so we regret we can not assist you further with this issue. We apologize for any inconvenience this may cause."
"As stated this is possible on our shared windows hosting accounts but we can not assist with the setup or execution of this file as it is considered custom scripting and setup. Thank you for your time."