CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   Prevent image file from being opened (http://www.codingforums.com/showthread.php?t=223961)

css-quest 04-12-2011 10:48 AM

Prevent image file from being opened
 
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/


All times are GMT +1. The time now is 07:43 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.