You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vi <vi...@bexout.com> on 2004/03/18 19:28:26 UTC

[users@httpd] Access

How to limit access to all *.mp3 files on my server to only those who 
are refering from my server?
And not form anywhere else

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Access

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 18 Mar 2004, Vi wrote:

> How to limit access to all *.mp3 files on my server to only those who
> are refering from my server?
> And not form anywhere else

See the "Prevent image theft" example at
http://httpd.apache.org/docs-2.0/env.html#examples
with the <Directory> replaced by <Files .mp3>.

But remember that this is not real security.  It is fairly effective at
preventing people from linking to your files on their site, but it is easy
for an individual browser to circumvent.

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org