[thelist] Hotlinking prevention
Joshua Olson
joshua at waetech.com
Tue May 4 00:09:35 CDT 2004
> -----Original Message-----
> From: Paul Bennett
> Sent: Tuesday, May 04, 2004 12:39 AM
>
> > http://concepts.waetech.com/hotlinking/
> sounds great - can you answer a server admin n00b how you manage
> maintaining the correct image links in the static code of the site (if
> any) - is it IIS / Apache magic?
Paul,
I don't think this solution would work well for static sites as you've
correctly pointed out. 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?
<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com/service_areas/
706.210.0168
More information about the thelist
mailing list