Does anyone know a method to use the Unix/Apache method of .htaccess to
block users access to a directory based on referer? Could I use Advanced
security on a web cluster to protect file/image directorys?
><<Here's all you have to do to make use of this feature: put a file named
>".htaccess" in any directory on your site. Any attempt <<access any file
in
>that directory will invoke the rules contained in the file. If the
referring
>URL is not listed in the file, <<the"RewriteRule" page will be sent
instead.
>A sample .htaccess file: RewriteEngine On RewriteCond %{HTTP_REFERER}
>!^http://one<<\.com/.*$ [NC] RewriteRule .* /hotlink.htm [L] This limits
>access to the files within this directory to pages called from the
<<one.com
>domain. If any other URLs try to access any file in the directory,
>http://one.com/hotlink.htm is delivered if the <<files is called directly,
>or an broken image will show if the link is inside a page.
>
><<NOTE: You need to have each dot (.) in your domain name written as \.
>otherwise the match won't happen. If you want to specify <<a specific page
>to allow access from, change the .*$ to the page you want to use (remember
>to change all dots (.) to \. to <<make it work. If you use the www prefix
on
>your domain name, add www\. in the RewriteCond.
>
>
>
>
>
>
>(http://forums.allaire.com/devconf/Index.cfm?Message_ID=676709)
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com