Re: how to prevent mp3 downloading ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.03.09 16:46, J. Bakshi wrote:
> I have a .htaccess ( copied from the some tutorials available in
> internet ) to disable site grabbers like wget, curl, httrack etc....... 
> and I have tested that these tools are not able to download anything
> from my site.  nice so far. But If I put the mp3 link available at my
> site directly in the browser then browser download the mp3. it is also
> true for images. How can I prevent this ?

Move them out of DocumentRoot. If the file is availabele via HTTP, it can be
fetched using HTTP, no matter how you call it.
You can only make it harder by checking User-Agent for known strings,
clients may not provide it, nor they have to tell the truth.
You can make them available only for streaming, but that won't stop form
downloading the content too.
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Save the whales. Collect the whole set.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux