httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] .htaccess assistance
Date Mon, 28 Apr 2008 00:16:08 GMT
On Sun, Apr 27, 2008 at 7:55 PM, Tom Ray [Lists] <> wrote:
> Hey,
>  I'm trying to setup something up where I have a video player on the main
> page of the site but the .flv files are in a directory such as videos/files.
> What I would like to do is use .htaccess to block the direct calling for
> those files so they can't be downloaded but I still want the site to be able
> to load the files for viewing through the video player. Every combo I try
> stops the direct calling of the file but the player also can't seem to load
> it.
>  I try:
>  Order deny,allow
>  deny from all
>  allow from (used the IP of the site, etc(
>  And I still get nothing. Any help would be appreciated. I want to make sure
> I block the files from people but the webserver can still load and use them.

You want something like the "prevent image theft" example here:

But that will only work if the video players typically send reasonable referers.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message