[thelist] Hotlinking prevention

Ken Schaefer ken at adOpenStatic.com
Tue May 4 23:00:18 CDT 2004


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Paul Bennett" <paul at clicksave.co.nz>
Subject: Re: [thelist] Hotlinking prevention


: >In this working example, I read in the same
: >configuration file that the process generates to get the current folder
: >name.  Then, this value is used when I generate the links to images.
: >
: >Eg
: >
: ><img src="/<%= hotlinking_current %>/myimage.jpg" />
: >
: >Clear as mud?
: >
: >
: Understood.
:  I initially thought you were running this as some kind of
: process in IIS, rather than via server-side programming,
: hence my initial question. :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I believe he is using some kind of server-side process to do this work. All
it does is interact with the IIS Metabase to create a new virtual directory,
and point it to the actual folder that holds the images. And then it
rewrites the central include file (which each content page is using) to
update the values of the variables holding the name of the virtual
directory.

Cheers
Ken



More information about the thelist mailing list