Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Mod Rewrite Anti-Leech (A Better Version)


jdMorgan - 7:26 pm on Feb 6, 2005 (gmt 0)


No, this is not my market area, so I'm speaking generally.

Mod_rewrite those image requests from the e-commerce script to a second script. This second script opens the image file, outputs the response header and MIME-type of the image, and then sends the image data. So the script pretends that it is the image file. However, this allows you to store your images in a directory that is completely inaccessible via HTTP. And the script can check for the cookie that allows the image to be served, and output a 403-Forbidden response if it's not valid.

You might try searching for scripts that do this, using keywords specific to e-commerce, hotlinking, anti-leeching, and image and bandwidth protection scripts.

Jim


Thread source:: http://www.webmasterworld.com/apache/2783.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com