View Single Post

  #7 (permalink)  
Old 12-01-2006
Brian Huether
 
Posts: n/a
Default Re: Protecting mp3 files on website?


"Jeremy" <jeremy@pinacol.com> wrote in message
news:YVMbh.4780$Vu4.906@newsfe10.phx...
> Brian Huether wrote:
>>
>> I have this line in my .htaccess file but people can still access audio
>>
>> <Files .htaccess>
>> order allow,deny
>> deny from all
>> </Files>
>>
>> If they type the audio directory they will see an index listing.
>>
>> brian

>
> You need to remove the <Files .htaccess> and </Files> line. That is
> restricting the deny from all directive to the .htaccess file.
>
> Jeremy


I am wonering though if having that blanket deny statement might break other
aspects of my site (i.e. I have photos and sometimes give people links to
photos, etc).

thanks,

brian