...

View Full Version : Prevent image file from being opened



css-quest
04-12-2011, 10:48 AM
I've noticed on some websites, if you get the direct link of an image and paste it into the browser location bar, it redirects to the homepage or a 404 page instead of showing the image.

Anyone know if this is easy to do or does it require a lot of scripting?

I'd assume it could be done via .htaccess somehow??

Thanks in advance.

monkey186
04-12-2011, 05:34 PM
Do you mean to prevent image hot-linking? Here is some information: http://www.alistapart.com/articles/hotlinking/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum