You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by vlady <vl...@cyber2000.qc.ca> on 2002/05/08 16:54:34 UTC
Restricting access
Hi all !
I am looking for a way to restrict the access to a directory giving
access only to the request coming from a specifc URL and denying all
other request.
Does someone can felp?
Thanks in advance
Vlady
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Restricting access
Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 8 May 2002, vlady wrote:
> I am looking for a way to restrict the access to a directory giving
> access only to the request coming from a specifc URL and denying all
> other request.
> Does someone can felp?
Assuming you mean restrict requests by the "refering" URL (the URL
where the link to your site is), see the last example here:
http://httpd.apache.org/docs-2.0/env.html#examples
and the accompanying link.
But note that this technique provides no real security, because
the Referer HTTP header is easily faked.
Joshua.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org