I would like to protect a directory so that the image files within the directory can only be called throug the cgi scripts on my server. In other words, if someone has the full URL to the image say http://www.xyz.com/images/image.jpg and just enters this in their browser I would like to block access. What I would like to do is to make it so image.jpg can only be accessed if the typed (or linked) URL contains a path through one of my cgi scripts (my cgi's generate the html pages dynamically). I have already set the image directories using .htaccess to block any access to referers other than my site OR blank referers. If I set .htaccess to block blank referers, then even legitamate calls of the images through the cgi scripts fail when the calling users IP has a blank referer (i.e. usually those behind firewalls). Any ideas?