Attention, everybody who publishes on the web:
Selectively requiring authentication (based on referrer, user-agent, cookies, etc.) is not a supported feature of the internet. If you want to go ahead and implement it anyway, that's fine - but it's pointless to get mad when it doesn't really work the way you hoped it would.