Re: Protecting a directory while allowing access to certain files

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

 



On Fri, Mar 28, 2008 at 12:07 PM, Joshua Slive <joshua@xxxxxxxx> wrote:
> On Fri, Mar 28, 2008 at 11:38 AM, LDB <thesource@xxxxxxxxxxx> wrote:
>  > I am trying to password protect a directory but still allow access
>  >  to "all" to a single file within that directory.
>  >
>  >  Is that possible?
>
>  Yes, with a <Files> section inside the <Directory> section that grants
>  access. You didn't specify what kind of protection you are talking
>  about, so it is not possible to provide a specific example.

Oh, wait, you said "password" protect:

<Directory /foo/bar>
Auth.....
require valid-user
<Files unprotected.html>
Satisfy Any
Allow from all
</Files>
</Directory>

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@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