RE: Question about Authentication in sub-folders

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

 



>From the DOCS (you don't say what version you are running).
Does this help ?


Removing controls in subdirectories
The following example shows how to use the Satisfy directive to disable
access controls in a subdirectory of a protected directory. This technique
should be used with caution, because it will also disable any access
controls imposed by mod_authz_host.

<Directory /path/to/protected/>

Require user david

</Directory>
<Directory /path/to/protected/unprotected>

# All access controls and authentication are disabled
# in this directory
Satisfy Any
Allow from all

</Directory>



Luis Moreira 
Analista 
E. S. Informática 
Gestão de Sistemas, Qualidade e Produção
Comunicação de Dados e Segurança
Rua Fraternidade Operária 5 
2799-501 Carnaxide 
Tel: +351 21 416 82 88 (extensão 26 6510)
Fax: +351 21 416 80 92 
Email : luis.moreira@xxxxxx 
URL: http://www.esi.pt 
 
-----Original Message-----
From: Jean-Yves Avenard [mailto:jyavenard@xxxxxxxxx] 
Sent: segunda-feira, 12 de Novembro de 2007 10:53
To: users@xxxxxxxxxxxxxxxx
Subject:  Question about Authentication in sub-folders

Hi

On our private web server, every single page requires authentication.

So I've added something like

<directory />
        AuthzLDAPAuthoritative on
        AuthBasicProvider       ldap
	AuthType basic
...
</directory>

which works just fine.

However, now I would like to disable authentication for a sub-folder
so anyone can see it.

I haven't found an easy to turn off authentication for a specific
folder if the parent folder requires authentication.

I'm sure this is something that can be easily done. But I haven't
found my way around the documentation this time.

Any help would be greatly appreciated.

Thank you
Jean-Yves

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


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