i have a question:

i have a website and i dont want other people stealing the images from a specific folders.

i know i can make the entire domain secure by editing .htaccess file (i have apache server).

but i wanted only specific folders. my question is, how will i do that? i dont think this is working:


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite\.com/.*$ [NC]
RewriteRule /folder1.*\.(gif|GIF|jpg|JPG)$ [G]
RewriteRule /folder2.*\.(gif|GIF|jpg|JPG)$ [G]


i hope some perl coders out there can help