-
I'm not gay; I'm British!
Hotlinking Prevention
Hi!
I'm looking at an effective way of preventing hotlinking as I'm looking at starting a TGP site.
I know you can prevent hotlinking by using .htaccess I think, by checking the referrer that the image is being called from your site.
However, at the moment I have all my `media files' store in a directory outside my website. eg: website at: /public/site/ media is at /media/
Then any of my sites can access the same images without having to upload them multiple times.
Anyway is this an effective safeguard against hot-linking?
Thanks
Ernie
-
You do realize by 'gay' I mean a man who has sex with other men?
You can setup .htaccess so that you can block hotlinking from any external sites EXCEPT for sites you own
I think we have an article on GWW somewhere that will let you see an example .htaccess file with that type of setup too
Regards,
Lee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks